[K/N] Move kotlin.native.internal.GC into kotlin.native.runtime

As a part of efforts to stabilize Native stdlib #KT-55765.
This commit is contained in:
Abduqodiri Qurbonzoda
2023-03-30 23:16:33 +03:00
parent 7a2e2f5f9f
commit e1c91ee50f
46 changed files with 506 additions and 212 deletions
@@ -4,6 +4,7 @@
*/
@file:Suppress("UNUSED")
@file:OptIn(kotlin.native.runtime.NativeRuntimeApi::class)
package stdlib
@@ -63,7 +64,7 @@ data class TripleVars<T>(var first: T, var second: T, var third: T) {
}
}
fun gc() = kotlin.native.internal.GC.collect()
fun gc() = kotlin.native.runtime.GC.collect()
// Note: this method checks only some of the operations (namely the ones modified recently,
// and thus required additional tests).