LineFinder: Created LineFinder from GroveLineFinder

Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Abhishek Malik
2016-09-14 13:14:18 -07:00
committed by Noel Eck
parent ed6d61d12e
commit ac5e54cfb6
12 changed files with 394 additions and 0 deletions

View File

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