mirror of
https://github.com/eclipse/upm.git
synced 2025-03-25 17:59:59 +03:00
22 lines
442 B
OpenEdge ABL
22 lines
442 B
OpenEdge ABL
![]() |
%module javaupm_dfrorp
|
||
|
%include "../upm.i"
|
||
|
%include "std_string.i"
|
||
|
%include "cpointer.i"
|
||
|
%include "typemaps.i"
|
||
|
|
||
|
%include "dfrorp.hpp"
|
||
|
%{
|
||
|
#include "dfrorp.hpp"
|
||
|
%}
|
||
|
|
||
|
%pragma(java) jniclasscode=%{
|
||
|
static {
|
||
|
try {
|
||
|
System.loadLibrary("javaupm_dfrorp");
|
||
|
} catch (UnsatisfiedLinkError e) {
|
||
|
System.err.println("Native code library failed to load. \n" + e);
|
||
|
System.exit(1);
|
||
|
}
|
||
|
}
|
||
|
%}
|