mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-18 09:35:44 +00:00
Update TribuFu.kt
This commit is contained in:
parent
e5858aeb53
commit
f79ef3675f
1 changed files with 4 additions and 7 deletions
|
|
@ -4,15 +4,12 @@ package tribufu
|
||||||
|
|
||||||
class TribuFu {
|
class TribuFu {
|
||||||
/**
|
/**
|
||||||
* A native method that is implemented by the 'TribuFu' native library, which is packaged with
|
* A native method that is implemented by the 'TribuFu' native library.
|
||||||
* this library.
|
|
||||||
*/
|
*/
|
||||||
// external fun Hello(): Int
|
// external fun Hello(): Int
|
||||||
|
|
||||||
companion object {
|
// Used to load the 'TribuFu' library on application startup.
|
||||||
// Used to load the 'TribuFu' library on application startup.
|
fun LoadLibrary() {
|
||||||
init {
|
System.loadLibrary("TribuFu")
|
||||||
//System.loadLibrary("TribuFu")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue