Package-level declarations

Types

Link copied to clipboard
interface AGL : Library
Link copied to clipboard
inline class AllocateClassMethodRegister(val clazz: Long)
Link copied to clipboard
interface AppKit : Library
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Structure.FieldOrder(value = ["value"])
class CGFloat(val value: Double) : Number, NativeMapped
Link copied to clipboard
interface Cocoa : Library
Link copied to clipboard
data class ConstObjcType(val base: ObjcType) : ObjcType
Link copied to clipboard
Link copied to clipboard
interface CoreGraphics : Library
Link copied to clipboard
interface CoreVideo : Library
Link copied to clipboard
Link copied to clipboard
fun interface DisplayLinkCallback : Callback
Link copied to clipboard
data class FixedArrayObjcType(val count: Int, val type: ObjcType) : ObjcType
Link copied to clipboard
interface Foundation : Library
Link copied to clipboard
typealias ID = Long
Link copied to clipboard
class MacAWTOpenglContext(val gwconfig: GameWindowConfig, val c: Component, var other: MacosGLContext? = null) : BaseOpenglContext
Link copied to clipboard
class MacGameWindow(val checkGl: Boolean, val logGl: Boolean) : GameWindow
Link copied to clipboard
interface MacGL : INativeGL, Library
Link copied to clipboard
open class MacKmlGL : NativeKgl
Link copied to clipboard
class MacosGLContext(var contentView: Long = 0, val window: Long = 0, val quality: GameWindow.Quality = GameWindow.Quality.AUTOMATIC, val sharedContext: Long = 0) : BaseOpenglContext
Link copied to clipboard
@Structure.FieldOrder(value = ["x", "y"])
open class MyNativeNSPoint : Structure
Link copied to clipboard
@Structure.FieldOrder(value = ["x", "y"])
open class MyNativeNSPointLong : Structure
Link copied to clipboard
@Structure.FieldOrder(value = ["x", "y", "width", "height"])
open class MyNativeNSRect : Structure
Link copied to clipboard
annotation class NativeName(val name: String)
Link copied to clipboard
Link copied to clipboard
class NSApplication(val id: Long) : NSObject
Link copied to clipboard
open class NSClass(val id: Long) : NSObject
Link copied to clipboard
class NSDictionary(val id: Long) : NSObject
Link copied to clipboard
inline class NSMenu(val id: Long)
Link copied to clipboard
inline class NSMenuItem(val id: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class NSObject(val id: Long) : IntegerType, NativeMapped
Link copied to clipboard
@Structure.FieldOrder(value = ["x", "y"])
class NSPoint(var x: CGFloat, var y: CGFloat) : Structure, Structure.ByValue
Link copied to clipboard
Link copied to clipboard
@Structure.FieldOrder(value = ["origin", "size"])
class NSRect(var origin: NSPoint, var size: NSSize) : Structure, Structure.ByValue
Link copied to clipboard
typealias NSRectPtr = Pointer
Link copied to clipboard
Link copied to clipboard
@Structure.FieldOrder(value = ["width", "height"])
class NSSize(var width: CGFloat, var height: CGFloat) : Structure, Structure.ByValue
Link copied to clipboard
open class NSString(val id: Long) : NSObject
Link copied to clipboard
class NSWindow(val id: Long) : NSObject
Link copied to clipboard
interface ObjcCallback : Callback
Link copied to clipboard
interface ObjcCallbackVoid : Callback
Link copied to clipboard
Link copied to clipboard
annotation class ObjcDesc(val name: String, val types: String = "")
Link copied to clipboard
Link copied to clipboard
data class ObjcMethodDesc(val desc: String, val returnType: ObjcParam, val params: List<ObjcParam>)
Link copied to clipboard
data class ObjcMethodDescription(val protocol: ObjcProtocolRef, val id: NativeLong, val types: String)
Link copied to clipboard
data class ObjcMethodRef(val objcClass: ObjcProtocolClassBaseRef, val ptr: Pointer)
Link copied to clipboard
data class ObjcParam(val offset: Int, val type: ObjcType)
Link copied to clipboard
open class ObjcProtocol(val name: String) : NSObject
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class ObjcRef(val id: Long)
Link copied to clipboard
inline class ObjcSel(val id: Long)
Link copied to clipboard
interface ObjcType
Link copied to clipboard
Link copied to clipboard
interface ObjectiveC : Library
Link copied to clipboard
class OSXDisplayLink(var onCallback: () -> Unit = { })
Link copied to clipboard
data class PointerObjcType(val base: ObjcType) : ObjcType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class StrReader(val str: String, var pos: Int = 0, var end: Int = str.length)
Link copied to clipboard
data class StructObjcType(val strName: String, val types: List<ObjcType>) : ObjcType
Link copied to clipboard
interface WindowWillCloseCallback : Callback

Properties

Link copied to clipboard
val Pointer.address: Long
Link copied to clipboard
val Pointer?.addressNotNull: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun Long.alloc(): Long
Link copied to clipboard
inline fun AllocateClassAndRegister(name: String, base: String, vararg protocols: String, configure: AllocateClassMethodRegister.() -> Unit = {}): Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> autoreleasePool(body: () -> T): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getComponentPeer(component: Component?): Dyn
Link copied to clipboard
Link copied to clipboard
operator fun Long.invoke(sel: String, vararg args: Any?): Long
Link copied to clipboard
fun JnaMemory(array: IntArray): Memory
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Memory(data: IntArray): Memory
fun Memory(data: LongArray): Memory
Link copied to clipboard
fun Long.msgSend(sel: ObjcSel, vararg args: Any?): Long
fun Long.msgSend(sel: String, vararg args: Any?): Long
Link copied to clipboard
fun Long.msgSend_stret(output: Any?, sel: String, vararg args: Any?)
Link copied to clipboard
fun Long.msgSendCGFloat(sel: ObjcSel, vararg args: Any?): CGFloat
fun Long.msgSendCGFloat(sel: String, vararg args: Any?): CGFloat
Link copied to clipboard
fun Long.msgSendDouble(sel: ObjcSel, vararg args: Any?): Double
fun Long.msgSendDouble(sel: String, vararg args: Any?): Double
Link copied to clipboard
fun Long.msgSendFloat(sel: ObjcSel, vararg args: Any?): Float
fun Long.msgSendFloat(sel: String, vararg args: Any?): Float
Link copied to clipboard
fun Long.msgSendInt(sel: ObjcSel, vararg args: Any?): Int
fun Long.msgSendInt(sel: String, vararg args: Any?): Int
Link copied to clipboard
fun Long.msgSendNSPoint(sel: String, vararg args: Any?): NSPointRes
Link copied to clipboard
fun Long.msgSendNSRect(sel: String, vararg args: Any?): NSRectRes
Link copied to clipboard
fun Long.msgSendVoid(sel: String, vararg args: Any?)
Link copied to clipboard
inline fun <T : Library> NativeLoad(name: String): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun ObjcCallback(callback: (self: Long, _sel: Long, sender: Long) -> Long): ObjcCallback
Link copied to clipboard
fun ObjcCallbackVoid(callback: (self: Long, _sel: Long, sender: Long) -> Unit): ObjcCallbackVoid
Link copied to clipboard
Link copied to clipboard
fun sel(name: ObjcSel): Long
fun sel(name: String): Long
Link copied to clipboard
fun Long.toPointer(): Pointer