Files
upm/src/mpl3115a2/javaupm_mpl3115a2.i

19 lines
386 B
OpenEdge ABL
Raw Normal View History

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