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:
Marcelo Matus 2005-12-28 21:10:10 +00:00
commit d0fbab350b

View file

@ -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 {