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

Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
22 lines
456 B
OpenEdge ABL
22 lines
456 B
OpenEdge ABL
%module javaupm_ublox6
|
|
%include "../upm.i"
|
|
%include "../java_buffer.i"
|
|
|
|
%{
|
|
#include "ublox6.h"
|
|
speed_t int_B9600 = B9600;
|
|
%}
|
|
|
|
%include "ublox6.h"
|
|
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);
|
|
}
|
|
}
|
|
%} |