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

Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
19 lines
378 B
OpenEdge ABL
19 lines
378 B
OpenEdge ABL
%module javaupm_max44000
|
|
%include "../upm.i"
|
|
|
|
%{
|
|
#include "max44000.h"
|
|
%}
|
|
|
|
%include "max44000.h"
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_max44000");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%} |