[K/N] Implement isExperimentalMM intrinsic
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
package kotlin.native
|
||||
|
||||
import kotlin.native.internal.GCUnsafeCall
|
||||
import kotlin.native.internal.TypedIntrinsic
|
||||
import kotlin.native.internal.IntrinsicType
|
||||
|
||||
/**
|
||||
* Operating system family.
|
||||
@@ -131,3 +133,7 @@ private external fun Platform_getCleanersLeakChecker(): Boolean
|
||||
|
||||
@GCUnsafeCall("Konan_Platform_setCleanersLeakChecker")
|
||||
private external fun Platform_setCleanersLeakChecker(value: Boolean): Unit
|
||||
|
||||
@TypedIntrinsic(IntrinsicType.IS_EXPERIMENTAL_MM)
|
||||
@ExperimentalStdlibApi
|
||||
external fun isExperimentalMM(): Boolean
|
||||
|
||||
@@ -54,6 +54,7 @@ class IntrinsicType {
|
||||
const val IDENTITY = "IDENTITY"
|
||||
const val IMMUTABLE_BLOB = "IMMUTABLE_BLOB"
|
||||
const val INIT_INSTANCE = "INIT_INSTANCE"
|
||||
const val IS_EXPERIMENTAL_MM = "IS_EXPERIMENTAL_MM"
|
||||
|
||||
// Enums
|
||||
const val ENUM_VALUES = "ENUM_VALUES"
|
||||
|
||||
Reference in New Issue
Block a user