Files
upm/src/mma8x5x/javaupm_mma8x5x.i

19 lines
378 B
OpenEdge ABL
Raw Normal View History

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