add missing %newpointer_flags option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
16bd77e9d6
commit
f9c692276a
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ values.
|
||||||
if (res$argnum == SWIG_NEWOBJ) {
|
if (res$argnum == SWIG_NEWOBJ) {
|
||||||
%append_output(from_meth((*$1)));
|
%append_output(from_meth((*$1)));
|
||||||
} else {
|
} else {
|
||||||
%append_output(SWIG_NewPointerObj((void*)($1), $1_descriptor, 0));
|
%append_output(SWIG_NewPointerObj((void*)($1), $1_descriptor, %newpointer_flags));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%enddef
|
%enddef
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue