[K/N] Deprecate initRuntimeIfNeeded() with WARNING

As a part of stabilizing Native stdlib.
This commit is contained in:
Abduqodiri Qurbonzoda
2023-03-23 14:47:33 +02:00
parent 33053405e0
commit 9dd778bc89
@@ -15,6 +15,7 @@ import kotlin.native.internal.ReportUnhandledException
* Initializes Kotlin runtime for the current thread, if not inited already.
*/
@GCUnsafeCall("Kotlin_initRuntimeIfNeededFromKotlin")
@Deprecated("Initializing runtime is not possible in the new memory model.", level = DeprecationLevel.WARNING)
external public fun initRuntimeIfNeeded(): Unit
/**