mirror of
https://github.com/eclipse/upm.git
synced 2025-06-10 23:30:27 +03:00
21 lines
395 B
OpenEdge ABL
21 lines
395 B
OpenEdge ABL
%module javaupm_scam
|
|
%include "../upm.i"
|
|
%include "../java_buffer.i"
|
|
|
|
%{
|
|
#include "scam.hpp"
|
|
%}
|
|
|
|
%include "scam.hpp"
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_scam");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%}
|