blob: 235c9d991b9c9350ad9ec730ad74c9bf6346bc0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
%module javaupm_isd1820
%include "../upm.i"
%{
#include "isd1820.hpp"
%}
%include "isd1820.hpp"
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_isd1820");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}
|