minor SWIGTYPE[] additions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f9779af91e
commit
e6ff90147e
1 changed files with 2 additions and 1 deletions
|
|
@ -511,6 +511,7 @@
|
||||||
/* Default array handling */
|
/* Default array handling */
|
||||||
%typemap(in) SWIGTYPE [] %{ $1 = *($&1_ltype)&$input; %}
|
%typemap(in) SWIGTYPE [] %{ $1 = *($&1_ltype)&$input; %}
|
||||||
%typemap(out) SWIGTYPE [] %{ *($&1_ltype)&$result = $1; %}
|
%typemap(out) SWIGTYPE [] %{ *($&1_ltype)&$result = $1; %}
|
||||||
|
%typemap(freearg) SWIGTYPE [ANY], SWIGTYPE [] ""
|
||||||
|
|
||||||
/* char arrays - treat as String */
|
/* char arrays - treat as String */
|
||||||
%typemap(in) char[ANY], char[] {
|
%typemap(in) char[ANY], char[] {
|
||||||
|
|
@ -772,7 +773,7 @@
|
||||||
return $null;
|
return $null;
|
||||||
}
|
}
|
||||||
|
|
||||||
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [ANY] %{
|
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [], SWIGTYPE [ANY] %{
|
||||||
(void)$1;
|
(void)$1;
|
||||||
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
|
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
|
||||||
return $null;
|
return $null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue