Remove KNI support

Not funny, reland it when we really need Kotlin Native
This commit is contained in:
tarsin committed 2023-02-13 18:28:46 +08:00
1 parent d30379251d
commit 9774bd858f
15 files changed
+1 -228

No files matched your search

-8
View File
@@ -18,20 +18,12 @@
package com.hippo
import java.io.FileDescriptor
import java.nio.ByteBuffer
object Native {
fun initialize() {
System.loadLibrary("ehviewer")
System.loadLibrary("ehviewer_kotlin_native")
}
@JvmStatic
external fun getFd(fd: FileDescriptor?): Int
@JvmStatic
external fun mapFd(fd: Int, capability: Long): ByteBuffer?
@JvmStatic
external fun unmapDirectByteBuffer(buffer: ByteBuffer)
}