Moisture: Add C Src and Example
Changed from GroveMoisture. Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
%module javaupm_grovemoisture
|
||||
%include "../upm.i"
|
||||
|
||||
%{
|
||||
#include "grovemoisture.hpp"
|
||||
%}
|
||||
|
||||
%include "grovemoisture.hpp"
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("javaupm_grovemoisture");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. \n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
%}
|
||||
Reference in New Issue
Block a user