mirror of
https://github.com/eclipse/upm.git
synced 2025-03-17 14:07:30 +03:00

* Added C library * Added CXX library * Added C/CXX/java/js/python examples Signed-off-by: Noel Eck <noel.eck@intel.com>
20 lines
363 B
OpenEdge ABL
20 lines
363 B
OpenEdge ABL
%module javaupm_ims
|
|
%include "../upm.i"
|
|
|
|
%{
|
|
#include "ims.hpp"
|
|
%}
|
|
|
|
%include "ims.hpp"
|
|
|
|
%pragma(java) jniclasscode=%{
|
|
static {
|
|
try {
|
|
System.loadLibrary("javaupm_ims");
|
|
} catch (UnsatisfiedLinkError e) {
|
|
System.err.println("Native code library failed to load. \n" + e);
|
|
System.exit(1);
|
|
}
|
|
}
|
|
%}
|