typemap name changes:
inv => directorin outv => directorout argoutv => directorargout git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
20fabf7ff3
commit
7ee01311b2
24 changed files with 500 additions and 501 deletions
|
|
@ -30,7 +30,7 @@
|
|||
%typemap(freearg) char **STRING_IN
|
||||
%{ free($1); %}
|
||||
|
||||
%typemap(inv, parse="Ljava/lang/String;") char **STRING_IN
|
||||
%typemap(directorin, parse="Ljava/lang/String;") char **STRING_IN
|
||||
%{ $input = JCALL1(NewStringUTF, jenv, *$1); %}
|
||||
|
||||
/* char **STRING_OUT - result must be a null terminated string */
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
%typemap(inv,parse="Ljava/lang/String;") char **STRING_OUT
|
||||
%typemap(directorin,parse="Ljava/lang/String;") char **STRING_OUT
|
||||
%{ $input = JCALL1(NewStringUTF, jenv, *$1); %}
|
||||
|
||||
/* char **STRING_RET - a NULL terminated array of char* */
|
||||
|
|
@ -75,7 +75,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
%typemap(inv,parse="Ljava/lang/String;") char **STRING_RET
|
||||
%typemap(directorin,parse="Ljava/lang/String;") char **STRING_RET
|
||||
%{ $input = JCALL1(NewStringUTF, jenv, *$1; %}
|
||||
|
||||
/* float *FLOAT_ARRAY_RETURN */
|
||||
|
|
@ -106,9 +106,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
%typemap(inv,parse="[F") float *FLOATARRAYRETURN
|
||||
%typemap(directorin,parse="[F") float *FLOATARRAYRETURN
|
||||
%{
|
||||
#error "Need inv typemape for FLOATARRAYRETURN, array input size is unknown."
|
||||
#error "Need directorin typemape for FLOATARRAYRETURN, array input size is unknown."
|
||||
%}
|
||||
|
||||
/* char *BYTE */
|
||||
|
|
@ -125,9 +125,9 @@
|
|||
JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *) $1, 0);
|
||||
}
|
||||
|
||||
%typemap(inv,parse="[B") char *BYTE
|
||||
%typemap(directorin,parse="[B") char *BYTE
|
||||
%{
|
||||
#error "Need inv typemape for BYTE, array input size is unknown."
|
||||
#error "Need directorin typemape for BYTE, array input size is unknown."
|
||||
%}
|
||||
|
||||
/* Prevent default freearg typemap from being used */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue