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:
parent
7e26be584a
commit
f073fc2c36
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue