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:
Marcelo Matus 2006-02-07 09:23:43 +00:00
commit b49ba78a1d

View file

@ -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);
}