- in Lib/gcj/cni.i: remove JvAllocObject(), change
JvCreateJavaVM() argument from void* to JvVMInitArgs*
- in Examples/{python|perl5|ruby|tcl}/java/Makefile:
pass full class name to gcjh, add Example.h as dependency,
do not override CXX for compiling C++ sources
- in Examples/python/java/example.i:
add destructor to class to prevent memory loss complaint
13 lines
119 B
OpenEdge ABL
13 lines
119 B
OpenEdge ABL
%module example
|
|
%include <cni.i>
|
|
|
|
%{
|
|
#include "Example.h"
|
|
%}
|
|
|
|
|
|
%include Example.h
|
|
|
|
%extend Example {
|
|
~Example() {}
|
|
}
|