A vector of bits growing if necessary and allowing one to set/clear/read bits from it by a bit index.
Central Processor Unit architecture.
enum class CpuArchitecture
An immutable compile-time array of bytes.
Exception thrown when top level variable is accessed from incorrect execution context.
class IncorrectDereferenceException : RuntimeException
enum class MemoryModel
Operating system family.
enum class OsFamily
Object describing the current platform program executes upon.
Typealias describing custom exception reporting hook.
typealias ReportUnhandledExceptionHook = (Throwable) -> Unit
Makes top level function available from C/C++ code with the given name.
annotation class CName
Preserve the function entry point during global optimizations.
annotation class Retain
Preserve the function entry point during global optimizations, only for the given target.
annotation class RetainForTarget
Forces the compiler to use specified symbol name for the target
annotation class SymbolName
This annotation indicates what exceptions should be declared by a function when compiled to a platform method.
annotation class Throws
Deinitializes Kotlin runtime for the current thread, if was inited. Cannot be called from Kotlin frames holding references, thus deprecated.
Compute stable wrt potential object relocations by the memory manager identity hash code.
fun Any?.identityHashCode(): Int
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.