fix SWIG_Object const & typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b301617976
commit
c655b7d1be
1 changed files with 6 additions and 1 deletions
|
|
@ -5,7 +5,12 @@
|
||||||
%typemap(in) SWIG_Object "$1 = $input;";
|
%typemap(in) SWIG_Object "$1 = $input;";
|
||||||
%typemap(freearg) SWIG_Object "";
|
%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 & "";
|
%typemap(freearg) SWIG_Object const & "";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue