upm/src/veml6070/javaupm_veml6070.i
Abhishek Malik e7ca8cf18b VEML6070: Initial Commit
This commit provides a basic driver for the Vishay VEML6070 UV
Sensor. Some functionality might be missing. Binding examples have
not been tested as of now.

Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2017-05-04 11:18:13 -07:00

21 lines
424 B
OpenEdge ABL

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