fix varout for SWIGTYPE, bug #1037259
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
08d78e941d
commit
0b499cf3af
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@
|
|||
"$result = SWIG_NewPointerObj((void *) &$1, $1_descriptor,0);";
|
||||
|
||||
/* Copy by value */
|
||||
%typemap(varout) SWIGTYPE "$result = SWIG_NewPointerObj((void *) &$1, $&1_descriptor, 1);";
|
||||
%typemap(varout) SWIGTYPE "$result = SWIG_NewPointerObj((void *) &$1, $&1_descriptor, 0);";
|
||||
|
||||
/* Member pointer */
|
||||
%typemap(varout) SWIGTYPE (CLASS::*) "$result = SWIG_NewPackedObj((void *) &$1, sizeof($1_type), $1_descriptor);";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue