From 093fe2a556d242cf930e79348dcece3ec8c78e6f Mon Sep 17 00:00:00 2001
From: Yuval Kashtan
The name of the shared library output file is important.
If the name of your SWIG module is "example", the name of the corresponding shared library file should be "libexample.so" (or equivalent depending on your machine, see Dynamic linking problems for more information).
-The name of the module is specified using the %module directive or -module command line option.Use for mapping NULL terminated arrays of C strings to Java String arrays
+
+
+
unsigned char *
+NIOBUFFER
+various.i
+input
+
outputjava.nio.Buffer
+Use for mapping directly allocated buffers to c/c++. useful with directors and long lived memory objects
+25.9.6 Java typemap attributes
--
cgit v1.2.1
From f541e604e8722550826d6dcac2d97adf49309061 Mon Sep 17 00:00:00 2001
From: Olly Betts
If no declaration name is given to %exception, it is applied to all wrapper functions. -The $action is a SWIG special variable and is replaced by the C/C++ function call being wrapped. -The return $null; handles all native method return types, namely those that have a void return and those that do not. +The $action is a SWIG special variable and is replaced by the C/C++ function call being wrapped. +The return $null; handles all native method return types, namely those that have a void return and those that do not. This is useful for typemaps that will be used in native method returning all return types. See the section on Java special variables for further explanation. @@ -5579,7 +5579,7 @@ This special variable is usually used for making calls to a function in the inte
-$null
+$null
Used in input typemaps to return early from JNI functions that have either void or a non-void return type. Example: