[K/N] Internalize Ref
As a part of efforts to stabilize Native stdlib.
This commit is contained in:
@@ -8,6 +8,7 @@ package kotlin.native.internal
|
|||||||
/**
|
/**
|
||||||
* This class is used to allocate closure-captured variables in the heap.
|
* This class is used to allocate closure-captured variables in the heap.
|
||||||
*/
|
*/
|
||||||
class Ref<T> {
|
@PublishedApi
|
||||||
|
internal class Ref<T> {
|
||||||
var element: T = undefined()
|
var element: T = undefined()
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user