fix prototype warnings, as reported by Max Browsher
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6a69ec8227
commit
02d5dbe049
3 changed files with 3 additions and 3 deletions
|
|
@ -181,7 +181,7 @@ SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int
|
|||
}
|
||||
|
||||
SWIGINTERN PyObject *
|
||||
SWIG_globals() {
|
||||
SWIG_globals(void) {
|
||||
static PyObject *_SWIG_globals = 0;
|
||||
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
|
||||
return _SWIG_globals;
|
||||
|
|
|
|||
|
|
@ -1337,7 +1337,7 @@ SWIG_Python_SetModule(swig_module_info *swig_module) {
|
|||
|
||||
/* The python cached type query */
|
||||
SWIGRUNTIME PyObject *
|
||||
SWIG_Python_TypeCache() {
|
||||
SWIG_Python_TypeCache(void) {
|
||||
static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
|
||||
return cache;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue