Fix C compilation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a025af2d2e
commit
f7deb81de1
1 changed files with 1 additions and 1 deletions
|
|
@ -997,9 +997,9 @@ SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int
|
||||||
if (ptr) *ptr = 0;
|
if (ptr) *ptr = 0;
|
||||||
return SWIG_OK;
|
return SWIG_OK;
|
||||||
} else {
|
} else {
|
||||||
|
PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
|
||||||
if (own)
|
if (own)
|
||||||
*own = 0;
|
*own = 0;
|
||||||
PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
|
|
||||||
while (sobj) {
|
while (sobj) {
|
||||||
void *vptr = sobj->ptr;
|
void *vptr = sobj->ptr;
|
||||||
if (ty) {
|
if (ty) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue