mirror of
https://github.com/eclipse/upm.git
synced 2025-03-29 11:50:02 +03:00
19 lines
402 B
OpenEdge ABL
19 lines
402 B
OpenEdge ABL
%module javaupm_grovemoisture
|
|
%include "../upm.i"
|
|
|
|
%{
|
|
#include "grovemoisture.hpp"
|
|
%}
|
|
|
|
%include "grovemoisture.hpp"
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_grovemoisture");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%} |