11 lines
305 B
Kotlin
11 lines
305 B
Kotlin
package net.typeblog.lpac_jni
|
|
|
|
private class LpacJni {
|
|
init {
|
|
System.loadLibrary("lpac-jni")
|
|
}
|
|
|
|
external fun createContext(apduInterface: ApduInterface, httpInterface: HttpInterface): Long
|
|
external fun destroyContext(handle: Long)
|
|
external fun setCurrentContext(handle: Long)
|
|
} |