mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +03:00
Added new macros for installISR and applied where possible.
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
%module javaupm_utilities
|
||||
|
||||
JAVA_JNI_LOADLIBRARY(javaupm_utilities)
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("javaupm_utilities");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. \n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
||||
|
Reference in New Issue
Block a user