Remove KNI support
Not funny, reland it when we really need Kotlin Native
This commit is contained in:
1 parent
d30379251d
commit
9774bd858f
15 files changed
+1
-228
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user