upm/src/ozw/javaupm_ozw.i
Stefan Andritoiu b32e4911ab java: removed unnecessary method definitions from htu21d and ozw interface file
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com>
2017-04-25 11:57:54 -07:00

60 lines
949 B
OpenEdge ABL

%module javaupm_ozw
%include "../upm.i"
%include "cpointer.i"
%include "typemaps.i"
%include "arrays_java.i";
%include "../java_buffer.i"
%apply unsigned char *OUTPUT { uint8_t *val };
%include "ozw.hpp"
%{
#include "ozw.hpp"
%}
%include "ozwinterface.hpp"
%{
#include "ozwinterface.hpp"
%}
%include "ozwdump.hpp"
%{
#include "ozwdump.hpp"
%}
%include "aeotecss6.hpp"
%{
#include "aeotecss6.hpp"
%}
%include "aeotecsdg2.hpp"
%{
#include "aeotecsdg2.hpp"
%}
%include "aeotecdw2e.hpp"
%{
#include "aeotecdw2e.hpp"
%}
%include "aeotecdsb09104.hpp"
%{
#include "aeotecdsb09104.hpp"
%}
%include "tzemt400.hpp"
%{
#include "tzemt400.hpp"
%}
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_ozw");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}