Package-level declarations

Types

Link copied to clipboard
annotation class FFI(val commonLib: String = "", val windowsLib: String = "", val linuxLib: String = "", val macosLib: String = "")
Link copied to clipboard
class FFIFunctionRef<T : Function<*>>(val func: T) : AutoCloseable
Link copied to clipboard
annotation class FFINativeInt
Link copied to clipboard
inline class FFIPointer(val address: Long)
Link copied to clipboard
annotation class FFIWideString

Properties

Link copied to clipboard
actual val isSupportedFFI: Boolean = false
actual val isSupportedFFI: Boolean = true
actual val isSupportedFFI: Boolean = true
actual val isSupportedFFI: Boolean = false

Functions

Link copied to clipboard
actual fun FFIDLClose(lib: COpaquePointer?)
expect fun FFIDLClose(lib: COpaquePointer?)
actual fun FFIDLClose(lib: COpaquePointer?)
Link copied to clipboard
actual fun FFIDLOpen(name: String): COpaquePointer?
expect fun FFIDLOpen(name: String): COpaquePointer?
actual fun FFIDLOpen(name: String): COpaquePointer?
Link copied to clipboard
fun FFIDLOpenPlatform(common: String? = null, linux: String? = null, macos: String? = null, windows: String? = null): COpaquePointer?
Link copied to clipboard
actual fun FFIDLSym(lib: COpaquePointer?, name: String): COpaquePointer?
expect fun FFIDLSym(lib: COpaquePointer?, name: String): COpaquePointer?
actual fun FFIDLSym(lib: COpaquePointer?, name: String): COpaquePointer?
Link copied to clipboard
actual fun FFIPointer.getF32(offset: Int): Float
expect fun FFIPointer.getF32(offset: Int = 0): Float
actual fun FFIPointer.getF32(offset: Int): Float
actual fun FFIPointer.getF32(offset: Int): Float
actual fun FFIPointer.getF32(offset: Int): Float
actual fun FFIPointer.getF32(offset: Int): Float
Link copied to clipboard
actual fun FFIPointer.getF64(offset: Int): Double
expect fun FFIPointer.getF64(offset: Int = 0): Double
actual fun FFIPointer.getF64(offset: Int): Double
actual fun FFIPointer.getF64(offset: Int): Double
actual fun FFIPointer.getF64(offset: Int): Double
actual fun FFIPointer.getF64(offset: Int): Double
Link copied to clipboard
actual fun FFIPointer.getI16(offset: Int): Short
expect fun FFIPointer.getI16(offset: Int = 0): Short
actual fun FFIPointer.getI16(offset: Int): Short
actual fun FFIPointer.getI16(offset: Int): Short
actual fun FFIPointer.getI16(offset: Int): Short
actual fun FFIPointer.getI16(offset: Int): Short
Link copied to clipboard
actual fun FFIPointer.getI32(offset: Int): Int
expect fun FFIPointer.getI32(offset: Int = 0): Int
actual fun FFIPointer.getI32(offset: Int): Int
actual fun FFIPointer.getI32(offset: Int): Int
actual fun FFIPointer.getI32(offset: Int): Int
actual fun FFIPointer.getI32(offset: Int): Int
Link copied to clipboard
actual fun FFIPointer.getI64(offset: Int): Long
expect fun FFIPointer.getI64(offset: Int = 0): Long
actual fun FFIPointer.getI64(offset: Int): Long
actual fun FFIPointer.getI64(offset: Int): Long
actual fun FFIPointer.getI64(offset: Int): Long
actual fun FFIPointer.getI64(offset: Int): Long
Link copied to clipboard
actual fun FFIPointer.getI8(offset: Int): Byte
expect fun FFIPointer.getI8(offset: Int = 0): Byte
actual fun FFIPointer.getI8(offset: Int): Byte
actual fun FFIPointer.getI8(offset: Int): Byte
actual fun FFIPointer.getI8(offset: Int): Byte
actual fun FFIPointer.getI8(offset: Int): Byte
Link copied to clipboard
actual fun FFIPointer.setF32(offset: Int, value: Float)
expect fun FFIPointer.setF32(offset: Int = 0, value: Float)
actual fun FFIPointer.setF32(offset: Int, value: Float)
actual fun FFIPointer.setF32(offset: Int, value: Float)
actual fun FFIPointer.setF32(offset: Int, value: Float)
actual fun FFIPointer.setF32(offset: Int, value: Float)
Link copied to clipboard
actual fun FFIPointer.setF64(offset: Int, value: Double)
expect fun FFIPointer.setF64(offset: Int = 0, value: Double)
actual fun FFIPointer.setF64(offset: Int, value: Double)
actual fun FFIPointer.setF64(offset: Int, value: Double)
actual fun FFIPointer.setF64(offset: Int, value: Double)
actual fun FFIPointer.setF64(offset: Int, value: Double)
Link copied to clipboard
actual fun FFIPointer.setI16(offset: Int, value: Short)
expect fun FFIPointer.setI16(offset: Int = 0, value: Short)
actual fun FFIPointer.setI16(offset: Int, value: Short)
actual fun FFIPointer.setI16(offset: Int, value: Short)
actual fun FFIPointer.setI16(offset: Int, value: Short)
actual fun FFIPointer.setI16(offset: Int, value: Short)
Link copied to clipboard
actual fun FFIPointer.setI32(offset: Int, value: Int)
expect fun FFIPointer.setI32(offset: Int = 0, value: Int)
actual fun FFIPointer.setI32(offset: Int, value: Int)
actual fun FFIPointer.setI32(offset: Int, value: Int)
actual fun FFIPointer.setI32(offset: Int, value: Int)
actual fun FFIPointer.setI32(offset: Int, value: Int)
Link copied to clipboard
actual fun FFIPointer.setI64(offset: Int, value: Long)
expect fun FFIPointer.setI64(offset: Int = 0, value: Long)
actual fun FFIPointer.setI64(offset: Int, value: Long)
actual fun FFIPointer.setI64(offset: Int, value: Long)
actual fun FFIPointer.setI64(offset: Int, value: Long)
actual fun FFIPointer.setI64(offset: Int, value: Long)
Link copied to clipboard
actual fun FFIPointer.setI8(offset: Int, value: Byte)
expect fun FFIPointer.setI8(offset: Int = 0, value: Byte)
actual fun FFIPointer.setI8(offset: Int, value: Byte)
actual fun FFIPointer.setI8(offset: Int, value: Byte)
actual fun FFIPointer.setI8(offset: Int, value: Byte)
actual fun FFIPointer.setI8(offset: Int, value: Byte)
Link copied to clipboard
Link copied to clipboard