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