[K/N] Internalize Ref

As a part of efforts to stabilize Native stdlib.
This commit is contained in:
Abduqodiri Qurbonzoda
2023-04-06 19:59:41 +03:00
parent d51763c240
commit dbfdda2ba1
@@ -8,6 +8,7 @@ package kotlin.native.internal
/**
* This class is used to allocate closure-captured variables in the heap.
*/
class Ref<T> {
@PublishedApi
internal class Ref<T> {
var element: T = undefined()
}