Mark the CName annotation with ExperimentalNativeApi

This commit is contained in:
Abduqodiri Qurbonzoda
2023-07-11 15:01:11 +03:00
committed by Space Team
parent e5ab1d9ccf
commit 7a0af5d058
2 changed files with 4 additions and 0 deletions
@@ -5,6 +5,7 @@
package kotlin.native
import kotlin.experimental.ExperimentalNativeApi
import kotlin.experimental.ExperimentalObjCName
import kotlin.experimental.ExperimentalObjCRefinement
@@ -14,6 +15,7 @@ import kotlin.experimental.ExperimentalObjCRefinement
* [externName] controls the name of top level function, [shortName] controls the short name.
* If [externName] is empty, no top level declaration is being created.
*/
@ExperimentalNativeApi
@SinceKotlin("1.5")
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.BINARY)