Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CEnumEntryAlias(val entryName: String)

Denotes property that is an alias to some enum entry.

Since Kotlin 1.3
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CEnumVarTypeSize(val size: Int)

Stores instance size of the type T: CEnumVar.

Since Kotlin 1.3
Link copied to clipboard

Collection of annotations that allow to store constant values.

Since Kotlin 1.3
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CStruct(val spelling: String)
Since Kotlin 1.3

Functions

Link copied to clipboard
external fun detachObjCObject(obj: ObjCObject)

Detaches the Objective-C object from this Kotlin wrapper. More specifically, releases the Obj-C reference and zeroes the field where it is stored.

Since Kotlin 1.3