Files
upm/src/nmea_gps/javaupm_nmea_gps.i

22 lines
448 B
OpenEdge ABL
Raw Normal View History

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