upm/src/a110x/javaupm_a110x.i

21 lines
412 B
OpenEdge ABL
Raw Normal View History

%module javaupm_a110x
%include "../upm.i"
%include "stdint.i"
%include "typemaps.i"
%{
#include "a110x.hpp"
%}
%include "a110x.hpp"
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_a110x");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}