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