mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 19:31:15 +03:00
Grove: Reverting Grove sources
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
19
src/groveelectromagnet/javaupm_groveelectromagnet.i
Normal file
19
src/groveelectromagnet/javaupm_groveelectromagnet.i
Normal file
@ -0,0 +1,19 @@
|
||||
%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);
|
||||
}
|
||||
}
|
||||
%}
|
Reference in New Issue
Block a user