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