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