Skip to content
Snippets Groups Projects
Commit 8c5c9e9c authored by Philipp Spohr's avatar Philipp Spohr
Browse files

Added JNI java-side

parent a423792c
Branches
Tags
Loading
...@@ -21,7 +21,7 @@ public class YoshikoInterface { ...@@ -21,7 +21,7 @@ public class YoshikoInterface {
public void loadLibrary(String libPath) { public void loadLibrary(String libPath) {
try { try {
System.loadLibrary(libPath); System.load(libPath);
libraryLoaded = true; libraryLoaded = true;
} }
catch(Exception e) { catch(Exception e) {
......
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.8
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package de.hhu.ba.yoshikoWrapper.swig;
public class LibraryInterface implements LibraryInterfaceConstants {
public static String getVersionString() {
return LibraryInterfaceJNI.getVersionString();
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.8
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package de.hhu.ba.yoshikoWrapper.swig;
public interface LibraryInterfaceConstants {
public final static String YOSHIKO_VERSION = LibraryInterfaceJNI.YOSHIKO_VERSION_get();
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.8
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package de.hhu.ba.yoshikoWrapper.swig;
public class LibraryInterfaceJNI {
public final static native String YOSHIKO_VERSION_get();
public final static native String getVersionString();
}
/**
* @author Philipp Spohr, Aug 6, 2017
*
*/
package de.hhu.ba.yoshikoWrapper.swig;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment