split operation since they are macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
45487003b2
commit
b49ba78a1d
1 changed files with 2 additions and 1 deletions
|
|
@ -1004,7 +1004,8 @@ SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int
|
|||
*ptr = vptr;
|
||||
/* transfer the ownership to 'ptr' */
|
||||
iobj->own = 0;
|
||||
res = SWIG_AddNewMask(SWIG_AddCast(res));
|
||||
res = SWIG_AddCast(res);
|
||||
res = SWIG_AddNewMask(res);
|
||||
} else {
|
||||
res = SWIG_AddCast(res);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue