2016-03-17 13:24:26 -07:00
|
|
|
%module javaupm_t6713
|
|
|
|
%include "../upm.i"
|
2017-02-06 14:59:00 -08:00
|
|
|
|
|
|
|
%include "../interfaces/javaupm_iCO2Sensor.i"
|
|
|
|
|
2016-03-17 13:24:26 -07:00
|
|
|
%include "arrays_java.i";
|
|
|
|
%include "../java_buffer.i"
|
|
|
|
%include "cpointer.i"
|
|
|
|
%include "typemaps.i"
|
|
|
|
|
|
|
|
%{
|
2016-04-25 14:27:51 -07:00
|
|
|
#include "t6713.hpp"
|
2016-03-17 13:24:26 -07:00
|
|
|
%}
|
|
|
|
|
2016-04-25 14:27:51 -07:00
|
|
|
%include "t6713.hpp"
|
2016-03-17 13:24:26 -07:00
|
|
|
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
|
|
static {
|
|
|
|
try {
|
|
|
|
System.loadLibrary("javaupm_t6713");
|
|
|
|
} catch (UnsatisfiedLinkError e) {
|
|
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
|
|
System.exit(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%}
|