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