fix for proper %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
89771f9b61
commit
7c924a5636
1 changed files with 2 additions and 2 deletions
|
|
@ -23,10 +23,10 @@
|
|||
|
||||
%define PYVAL_OUT_TYPEMAP(from_meth,pyfrag,Type...)
|
||||
%typemap(out,fragment=pyfrag) Type, const Type
|
||||
{ $result = from_meth(SWIG_static_cast($1,$basetype)); }
|
||||
{ $result = from_meth(SWIG_static_cast($1,Type)); }
|
||||
|
||||
%typemap(out,fragment=pyfrag) const Type&
|
||||
{ $result = from_meth(SWIG_static_cast(*$1,$basetype)); }
|
||||
{ $result = from_meth(SWIG_static_cast(*$1,Type)); }
|
||||
%enddef
|
||||
|
||||
/* varin */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue