Add in array reference typemaps - the recently introduced pointer reference typemaps broke array references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
53cf7fd217
commit
d57e63e2a5
2 changed files with 6 additions and 0 deletions
|
|
@ -1051,6 +1051,9 @@
|
|||
%typemap(out) SWIGTYPE *&
|
||||
%{ *($1_ltype)(void *)&$result = *$1; %}
|
||||
|
||||
/* Array reference typemaps */
|
||||
%apply SWIGTYPE & { SWIGTYPE ((&)[ANY]) }
|
||||
|
||||
/* Typemaps used for the generation of proxy and type wrapper class code */
|
||||
%typemap(javabase) SWIGTYPE, SWIGTYPE *, SWIGTYPE &, SWIGTYPE [], SWIGTYPE (CLASS::*) ""
|
||||
%typemap(javaclassmodifiers) SWIGTYPE, SWIGTYPE *, SWIGTYPE &, SWIGTYPE [], SWIGTYPE (CLASS::*) "public class"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue