upm/src/md/javaupm_md.i

20 lines
359 B
OpenEdge ABL
Raw Normal View History

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