replace Py_None with safer SWIG_Py_None()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b1f8846f0b
commit
52dd82bb66
1 changed files with 5 additions and 0 deletions
|
|
@ -96,6 +96,11 @@ SWIG_Py_None(void)
|
||||||
return none;
|
return none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef Py_None
|
||||||
|
# undef Py_None
|
||||||
|
# define Py_None SWIG_Py_None()
|
||||||
|
#endif
|
||||||
|
|
||||||
SWIGRUNTIMEINLINE PyObject *
|
SWIGRUNTIMEINLINE PyObject *
|
||||||
SWIG_Py_Void(void)
|
SWIG_Py_Void(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue