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