Java jboxtype typemap documentation and tidy up

This commit is contained in:
William S Fulton 2017-06-05 20:47:49 +01:00
commit 10e73a5bfb
2 changed files with 25 additions and 15 deletions

View file

@ -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"