Grove: Reverting Grove sources

Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Abhishek Malik
2016-09-13 16:32:04 -07:00
committed by Noel Eck
parent 67848a7a5c
commit a9883bd1f2
76 changed files with 2967 additions and 8 deletions

View 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);
}
}
%}