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
Exception thrown when there was an error during file initalization.
class FileFailedToInitializeException : RuntimeException
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
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".
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
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.
fun isExperimentalMM(): Boolean
Performs the default processing of unhandled exception.
fun processUnhandledException(throwable: Throwable)
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.