mirror of
https://github.com/eclipse/upm.git
synced 2025-03-25 17:59:59 +03:00

Signed-off-by: deadprogram <ron@hybridgroup.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
31 lines
701 B
OpenEdge ABL
31 lines
701 B
OpenEdge ABL
%module javaupm_ublox6
|
|
%include "../upm.i"
|
|
%include "../java_buffer.i"
|
|
|
|
%{
|
|
#include "ublox6.hpp"
|
|
speed_t int_B2400 = B2400;
|
|
speed_t int_B4800 = B4800;
|
|
speed_t int_B9600 = B9600;
|
|
speed_t int_B19200 = B19200;
|
|
speed_t int_B38400 = B38400;
|
|
%}
|
|
|
|
%include "ublox6.hpp"
|
|
speed_t int_B2400 = B2400;
|
|
speed_t int_B4800 = B4800;
|
|
speed_t int_B9600 = B9600;
|
|
speed_t int_B19200 = B19200;
|
|
speed_t int_B38400 = B38400;
|
|
|
|
%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);
|
|
}
|
|
}
|
|
%}
|