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