upm/src/ds2413/javaupm_ds2413.i
Noel Eck bf9059c846 cpp_headers: Rename ds2413 header .h -> .hpp
Renamed header file, updated header filename in interface files,
sources, and CmakeLists file.

Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-04-29 16:46:03 -07:00

23 lines
451 B
OpenEdge ABL

%module javaupm_ds2413
%include "../upm.i"
%include "carrays.i"
%include "std_string.i"
%{
#include "ds2413.hpp"
%}
%include "ds2413.hpp"
%array_class(char, charArray);
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_ds2413");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}