Fix loading of native libraries and package names

This commit is contained in:
edwin
2020-02-25 16:21:39 +01:00
parent da3c1dea3b
commit 20d164f147
10 changed files with 48 additions and 19 deletions

View File

@@ -7,11 +7,7 @@ class JSyphonClient
{
private var ptr: Long = 0
companion object {
init {
System.load(File("orx-syphon/src/main/kotlin/jsyphon/libJSyphon.jnilib").absolutePath)
}
}
val native = JSyphonNative.check()
fun init() {
ptr = init(null)