replace Py_None with safer SWIG_Py_None()

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-18 00:10:54 +00:00
commit f073fc2c36

View file

@ -96,6 +96,11 @@ SWIG_Py_None(void)
return none;
}
#ifdef Py_None
# undef Py_None
# define Py_None SWIG_Py_None()
#endif
SWIGRUNTIMEINLINE PyObject *
SWIG_Py_Void(void)
{