Package-level declarations
Types
Makes top level function available from C/C++ code with the given name.
Forces a top-level property to be initialized eagerly, opposed to lazily on the first access to file and/or property. This annotation can be used as temporal migration assistance during the transition from the previous Kotlin/Native initialization scheme "eager by default" to the new one, "lazy by default".
Exception thrown when there was an error during file initalization.
Freezing API is deprecated since 1.7.20.
Freezing API is deprecated since 1.7.20.
Instructs the Kotlin compiler to remove this function or property from the public Objective-C API.
Instructs the Kotlin compiler to remove this function or property from the public Objective-C API.
Meta-annotation that instructs the Kotlin compiler to remove the annotated function or property from the public Objective-C API.
Meta-annotation that instructs the Kotlin compiler to remove the annotated function or property from the public Objective-C API.
Exception thrown when top level variable is accessed from incorrect execution context.
Instructs the Kotlin compiler to use a custom Objective-C and/or Swift name for this class, property, parameter or function.
Instructs the Kotlin compiler to use a custom Objective-C and/or Swift name for this class, property, parameter or function.
Meta-annotation that instructs the Kotlin compiler to mark the annotated function or property as swift_private
in the generated Objective-C API.
Meta-annotation that instructs the Kotlin compiler to mark the annotated function or property as swift_private
in the generated Objective-C API.
Typealias describing custom exception reporting hook.
Preserve the function entry point during global optimizations.
Preserve the function entry point during global optimizations, only for the given target.
Instructs the Kotlin compiler to mark this function or property as swift_private
in the generated Objective-C API.
Instructs the Kotlin compiler to mark this function or property as swift_private
in the generated Objective-C API.
This is a dangerous deprecated and internal annotation. Please avoid using it.
Functions
Returns stable C pointer to data at certain offset, useful as a way to pass resource to C APIs.
Deinitializes Kotlin runtime for the current thread, if was inited. Cannot be called from Kotlin frames holding references, thus deprecated.
Returns a list of stack trace addresses representing the stack trace pertaining to this throwable.
Returns a user-defined unhandled exception hook set by setUnhandledExceptionHook or null
if no user-defined hooks were set.
Compute stable wrt potential object relocations by the memory manager identity hash code.
Creates ImmutableBlob out of compile-time constant data.
Initializes Kotlin runtime for the current thread, if not inited already.
Performs the default processing of unhandled exception.
Installs an unhandled exception hook and returns an old hook, or null
if no user-defined hooks were previously set.
Copies the data from this blob into a new ByteArray.
Copies the data from this blob into a new UByteArray.