mirror of
https://github.com/eclipse/upm.git
synced 2025-03-26 10:20:01 +03:00
25 lines
499 B
OpenEdge ABL
25 lines
499 B
OpenEdge ABL
![]() |
%module javaupm_ms5803
|
||
|
%include "../upm.i"
|
||
|
%include "typemaps.i"
|
||
|
%include "arrays_java.i"
|
||
|
%include "../java_buffer.i"
|
||
|
%include "std_string.i"
|
||
|
|
||
|
%include "ms5803_defs.h"
|
||
|
%include "ms5803.hpp"
|
||
|
%{
|
||
|
#include "ms5803.hpp"
|
||
|
%}
|
||
|
|
||
|
|
||
|
%pragma(java) jniclasscode=%{
|
||
|
static {
|
||
|
try {
|
||
|
System.loadLibrary("javaupm_ms5803");
|
||
|
} catch (UnsatisfiedLinkError e) {
|
||
|
System.err.println("Native code library failed to load. \n" + e);
|
||
|
System.exit(1);
|
||
|
}
|
||
|
}
|
||
|
%}
|