set PyObject * out typemaps back to simple returns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5a42618968
commit
b8bf059066
4 changed files with 5 additions and 24 deletions
|
|
@ -27,12 +27,15 @@
|
|||
%}
|
||||
|
||||
|
||||
%inline %{
|
||||
%inline {
|
||||
|
||||
SWIG_Object identity(SWIG_Object x) {
|
||||
#ifdef SWIGPYTHON
|
||||
Py_XINCREF(x);
|
||||
#endif
|
||||
return x;
|
||||
}
|
||||
|
||||
%}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue