Best attempt at missing directorin typemaps to fix director_wombat.i testcase. Could do with checking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3b7914c89d
commit
1018e6a484
1 changed files with 10 additions and 0 deletions
|
|
@ -121,6 +121,16 @@
|
||||||
|
|
||||||
/* --- directorin typemaps --- */
|
/* --- directorin typemaps --- */
|
||||||
|
|
||||||
|
%typemap(directorin) SWIGTYPE*
|
||||||
|
"$input = SWIG_NewPointerObj((void *) $1, $1_descriptor,0);";
|
||||||
|
|
||||||
|
%typemap(directorin) SWIGTYPE
|
||||||
|
"$input = SWIG_NewPointerObj((void *) &$1, $1_descriptor,0);";
|
||||||
|
|
||||||
|
%typemap(directorin) SWIGTYPE&
|
||||||
|
"$input = SWIG_NewPointerObj((void *) &$1, $1_descriptor,0);";
|
||||||
|
|
||||||
|
|
||||||
/* --- directorout typemaps --- */
|
/* --- directorout typemaps --- */
|
||||||
%typemap(directorout) SWIGTYPE *,
|
%typemap(directorout) SWIGTYPE *,
|
||||||
SWIGTYPE &,
|
SWIGTYPE &,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue