diff --git a/lib/src/main/kotlin/tribufu/TribuFu.kt b/lib/src/main/kotlin/tribufu/TribuFu.kt index 1f8fc36..298372b 100644 --- a/lib/src/main/kotlin/tribufu/TribuFu.kt +++ b/lib/src/main/kotlin/tribufu/TribuFu.kt @@ -4,15 +4,12 @@ package tribufu class TribuFu { /** - * A native method that is implemented by the 'TribuFu' native library, which is packaged with - * this library. + * A native method that is implemented by the 'TribuFu' native library. */ // external fun Hello(): Int - companion object { - // Used to load the 'TribuFu' library on application startup. - init { - //System.loadLibrary("TribuFu") - } + // Used to load the 'TribuFu' library on application startup. + fun LoadLibrary() { + System.loadLibrary("TribuFu") } }