Package-level declarations
Types
Central Processor Unit architecture.
An immutable compile-time array of bytes.
Exception thrown when top level variable is accessed from incorrect execution context.
Memory model.
Typealias describing custom exception reporting hook.
Preserve the function entry point during global optimizations, only for the given target.
Forces the compiler to use specified symbol name for the target external
function.
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.
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.
Install custom unhandled exception hook. Returns old hook, or null if it was not specified. Hook is invoked whenever there's uncaught exception reaching boundaries of the Kotlin world, i.e. top level main(), or when Objective-C to Kotlin call not marked with @Throws throws an exception. Hook must be a frozen lambda, so that it could be called from any thread/worker. Hook is invoked once, and is cleared afterwards, so that memory leak detection works as expected even with custom exception hooks.
Copies the data from this blob into a new ByteArray.
Copies the data from this blob into a new UByteArray.