[K/N] Deprecate initRuntimeIfNeeded() with WARNING
As a part of stabilizing Native stdlib.
This commit is contained in:
@@ -15,6 +15,7 @@ import kotlin.native.internal.ReportUnhandledException
|
|||||||
* Initializes Kotlin runtime for the current thread, if not inited already.
|
* Initializes Kotlin runtime for the current thread, if not inited already.
|
||||||
*/
|
*/
|
||||||
@GCUnsafeCall("Kotlin_initRuntimeIfNeededFromKotlin")
|
@GCUnsafeCall("Kotlin_initRuntimeIfNeededFromKotlin")
|
||||||
|
@Deprecated("Initializing runtime is not possible in the new memory model.", level = DeprecationLevel.WARNING)
|
||||||
external public fun initRuntimeIfNeeded(): Unit
|
external public fun initRuntimeIfNeeded(): Unit
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user