stdlib
1.3
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Native
stdlib
/
kotlin.native
/
RetainForTarget
Retain
For
Target
Native
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
,
AnnotationTarget.CLASS
]
)
annotation class
RetainForTarget
(
val
target
:
String
)
(
source
)
Preserve the function entry point during global optimizations, only for the given target.
Since Kotlin
1.3
Properties
Properties
target
Link copied to clipboard
Native
val
target
:
String
Since Kotlin
1.3