Package-level declarations
Types
Marks Objective-C and Swift interoperability API as Beta.
The variable containing a COpaquePointer.
The C data variable containing the pointer to T
.
The C primitive-typed variable located in memory.
The C struct-typed variable located in memory.
Marks foreign-language-related API as experimental.
Makes Kotlin subclass of Objective-C class visible for runtime lookup after Kotlin main
function gets invoked.
The entity which has an associated native pointer. Subtypes are supposed to represent interpretations of the pointed data or code.
Makes Kotlin method in Objective-C class accessible through Objective-C dispatch to be used as action sent by control in UIKit or AppKit.
Makes Kotlin property in Objective-C class settable through Objective-C dispatch to be used as IB outlet.
Marks functions for which Objective-C rules should be used for determinating whether two functions are conflicting.
Marker for declarations that depend on numeric types of different bit width on at least two platforms.
Properties
Functions
Allocates variable of given type.
Allocates variable with given value type and initializes it with given value.
Allocates variable of given type and initializes it applying given block.
Allocates C array of given elements type and length.
Allocates C array of given elements type and length, and initializes its elements applying given block.
Allocates C array of given values.
Allocates C array of pointers to given elements.
Converts to StableRef this opaque pointer produced by StableRef.asCPointer.
Returns sequence of immutable values CValues to pass them to C code.
If objCClass is a class generated to Objective-C header for Kotlin class, returns KClass for that original Kotlin class.
If objCProtocol is a protocol generated to Objective-C header for Kotlin class, returns KClass for that original Kotlin class.
Performs type cast of the native pointer to given interop type, including null values.
Returns interpretation of entity with given pointer.
Returns the member of this CStructVar which is located by given offset in bytes.
Changes the interpretation of the pointed data or code.
Returns a pointer to C function which calls given Kotlin static function.
Convert this array of Kotlin strings to C array of C strings, allocating memory for the array and C strings with given AutofreeScope.
Convert this list of Kotlin strings to C array of C strings, allocating memory for the array and C strings with given AutofreeScope.
Decodes a string from the bytes in UTF-8 encoding in this array. Bytes following the first occurrence of 0
byte, if it occurs, are not decoded.
Decodes a string from the bytes in UTF-8 encoding in this array or its subrange. Bytes following the first occurrence of 0
byte, if it occurs, are not decoded.
Calls the block with temporary copy of this value as receiver.