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 *
|
SWIGINTERN PyObject *
|
||||||
SWIG_globals() {
|
SWIG_globals(void) {
|
||||||
static PyObject *_SWIG_globals = 0;
|
static PyObject *_SWIG_globals = 0;
|
||||||
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
|
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
|
||||||
return _SWIG_globals;
|
return _SWIG_globals;
|
||||||
|
|
|
||||||
|
|
@ -1337,7 +1337,7 @@ SWIG_Python_SetModule(swig_module_info *swig_module) {
|
||||||
|
|
||||||
/* The python cached type query */
|
/* The python cached type query */
|
||||||
SWIGRUNTIME PyObject *
|
SWIGRUNTIME PyObject *
|
||||||
SWIG_Python_TypeCache() {
|
SWIG_Python_TypeCache(void) {
|
||||||
static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
|
static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
|
||||||
return cache;
|
return cache;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
%fragment("SWIG_pchar_descriptor","header") {
|
%fragment("SWIG_pchar_descriptor","header") {
|
||||||
SWIGINTERN swig_type_info*
|
SWIGINTERN swig_type_info*
|
||||||
SWIG_pchar_descriptor()
|
SWIG_pchar_descriptor(void)
|
||||||
{
|
{
|
||||||
static int init = 0;
|
static int init = 0;
|
||||||
static swig_type_info* info = 0;
|
static swig_type_info* info = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue