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

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