eliminate spurious temporal variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
de5e00b97a
commit
b44aafbe68
2 changed files with 13 additions and 1 deletions
|
|
@ -16,10 +16,16 @@
|
|||
virtual ~A()
|
||||
{
|
||||
}
|
||||
|
||||
virtual int get_val(Int a)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual int get_rval(const Int& a)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
@ -29,6 +35,11 @@
|
|||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int get_rval(const int& a)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1179,7 +1179,8 @@ public:
|
|||
String *arglist = NewString("");
|
||||
String* parse_args = NewString("");
|
||||
|
||||
Swig_typemap_attach_parms("in", l, w);
|
||||
/* 'in' parameters don't use a wrap, they are used directly */
|
||||
Swig_typemap_attach_parms("in", l, 0);
|
||||
Swig_typemap_attach_parms("directorin", l, w);
|
||||
Swig_typemap_attach_parms("directorout", l, w);
|
||||
Swig_typemap_attach_parms("directorargout", l, w);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue