fix NEWOBJ->TMPOBJ
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2560239c4e
commit
d0fbab350b
1 changed files with 2 additions and 2 deletions
|
|
@ -174,8 +174,8 @@ values.
|
|||
|
||||
%define %_value_output_typemap(from_meth, from_frag, Type)
|
||||
%typemap(in,numinputs=0,noblock=1)
|
||||
Type *OUTPUT ($*1_ltype temp, int res = SWIG_NEWOBJ),
|
||||
Type &OUTPUT ($*1_ltype temp, int res = SWIG_NEWOBJ) {
|
||||
Type *OUTPUT ($*1_ltype temp, int res = SWIG_TMPOBJ),
|
||||
Type &OUTPUT ($*1_ltype temp, int res = SWIG_TMPOBJ) {
|
||||
$1 = &temp;
|
||||
}
|
||||
%typemap(argout,noblock=1,fragment=from_frag) Type *OUTPUT, Type &OUTPUT {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue