fix SWIG_Object const & typemap

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-03 14:23:18 +00:00
commit 07ff83fdc3

View file

@ -5,7 +5,12 @@
%typemap(in) SWIG_Object "$1 = $input;";
%typemap(freearg) SWIG_Object "";
%typemap(in) SWIG_Object const & "$1 = &$input;";
%typemap(in,noblock=1) SWIG_Object const & ($*ltype temp)
{
temp = %static_cast($input, $*ltype);
$1 = &temp;
}
%typemap(freearg) SWIG_Object const & "";