Files
upm/src/ads1x15/javaupm_ads1x15.i
Noel Eck cfb4105dd8 docs: Added space to swig interface include
Documentation script was failing when parsing swig file.  Added
a space in the ads1x15 java swig file to make the doc parser happy.

Signed-off-by: Noel Eck <noel.eck@intel.com>
2017-03-03 10:11:25 -08:00

31 lines
599 B
OpenEdge ABL

%module javaupm_ads1x15
%include "../upm.i"
#if SWIG_VERSION >= 0x030009
%include "../interfaces/javaupm_iADC.i"
#endif
%include "typemaps.i"
%{
#include "ads1x15.hpp"
#include "ads1015.hpp"
#include "ads1115.hpp"
%}
%include "iADC.hpp"
%include "ads1x15.hpp"
%include "ads1015.hpp"
%include "ads1115.hpp"
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_ads1x15");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}