swig/Examples/test-suite/java_lib_arrays.i
2003-12-02 22:17:44 +00:00

19 lines
478 B
OpenEdge ABL

/* Testcase for the Java array typemaps which are not used by default. */
%module java_lib_arrays
/* Use the Java library typemaps */
%include "arrays_java.i"
JAVA_ARRAYSOFCLASSES(SimpleStruct)
%apply ARRAYSOFENUMS[ANY] { finger[ANY] }
%include "arrays.i"
// This will test the %typemap(javacode) in the JAVA_ARRAYSOFCLASSES works with C structs amongst other things
JAVA_ARRAYSOFCLASSES(struct AnotherStruct)
%inline %{
struct AnotherStruct {
SimpleStruct simple;
};
%}