RSC: Initial Commit

Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Abhishek Malik
2017-04-02 23:04:04 -07:00
parent b239866e99
commit 96eb834e9b
15 changed files with 1688 additions and 0 deletions

19
src/rsc/javaupm_rsc.i Normal file
View File

@ -0,0 +1,19 @@
%module javaupm_rsc
%include "../upm.i"
%{
#include "rsc.hpp"
%}
%include "rsc.hpp"
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_rsc");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}