5 #include "zoom-extra.h"
10 %include "arrays_java.i"
12 %typemap(jni) struct ByteArrayStruct "jbyteArray"
13 %typemap(jtype) struct ByteArrayStruct "byte[]"
14 %typemap(jstype) struct ByteArrayStruct "byte[]"
15 %typemap(out) struct ByteArrayStruct {
16 $result = SWIG_JavaArrayOutSChar(jenv, $1.data, $1.length);
19 %typemap(javaout) struct ByteArrayStruct { return $jnicall; }
21 %include "zoom-extra.h"
22 %pointer_functions(int, intp);