upm/src/relay/javaupm_relay.i
Sisinty Sasmita Patra b266f87450 Relay: Added C source
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:09 -07:00

20 lines
371 B
OpenEdge ABL

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