Java jboxtype typemap documentation and tidy up
This commit is contained in:
parent
e1a667bd52
commit
10e73a5bfb
2 changed files with 25 additions and 15 deletions
|
|
@ -111,25 +111,24 @@ SWIGINTERN jint SWIG_JavaIntFromSize_t(size_t size) {
|
|||
%typemap(jstype) double, const double & "double"
|
||||
%typemap(jstype) void "void"
|
||||
|
||||
%typemap(jboxtype) bool "Boolean"
|
||||
%typemap(jboxtype) char "Character"
|
||||
%typemap(jboxtype) signed char "Byte"
|
||||
%typemap(jboxtype) unsigned char "Short"
|
||||
%typemap(jboxtype) short "Short"
|
||||
%typemap(jboxtype) unsigned short "Integer"
|
||||
%typemap(jboxtype) int "Integer"
|
||||
%typemap(jboxtype) unsigned int "Long"
|
||||
%typemap(jboxtype) long "Integer"
|
||||
%typemap(jboxtype) unsigned long "Long"
|
||||
%typemap(jboxtype) long long "Long"
|
||||
%typemap(jboxtype) unsigned long long "java.math.BigInteger"
|
||||
%typemap(jboxtype) float "Float"
|
||||
%typemap(jboxtype) double "Double"
|
||||
%typemap(jboxtype) bool, const bool & "Boolean"
|
||||
%typemap(jboxtype) char, const char & "Character"
|
||||
%typemap(jboxtype) signed char, const signed char & "Byte"
|
||||
%typemap(jboxtype) unsigned char, const unsigned char & "Short"
|
||||
%typemap(jboxtype) short, const short & "Short"
|
||||
%typemap(jboxtype) unsigned short, const unsigned short & "Integer"
|
||||
%typemap(jboxtype) int, const int & "Integer"
|
||||
%typemap(jboxtype) unsigned int, const unsigned int & "Long"
|
||||
%typemap(jboxtype) long, const long & "Integer"
|
||||
%typemap(jboxtype) unsigned long, const unsigned long & "Long"
|
||||
%typemap(jboxtype) long long, const long long & "Long"
|
||||
%typemap(jboxtype) unsigned long long, const unsigned long long & "java.math.BigInteger"
|
||||
%typemap(jboxtype) float, const float & "Float"
|
||||
%typemap(jboxtype) double, const double & "Double"
|
||||
|
||||
%typemap(jni) char *, char *&, char[ANY], char[] "jstring"
|
||||
%typemap(jtype) char *, char *&, char[ANY], char[] "String"
|
||||
%typemap(jstype) char *, char *&, char[ANY], char[] "String"
|
||||
%typemap(jboxtype) char *, char *&, char[ANY], char[] "String"
|
||||
|
||||
/* JNI types */
|
||||
%typemap(jni) jboolean "jboolean"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue