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