[K/N] Internalize Retain and RetainForTarget annotations #KT-57710
As a part of efforts to stabilize Native stdlib.
This commit is contained in:
committed by
Space Team
parent
f665388704
commit
aae8a687a4
@@ -40,16 +40,14 @@ public annotation class SymbolName(val name: String)
|
|||||||
*/
|
*/
|
||||||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.BINARY)
|
@Retention(AnnotationRetention.BINARY)
|
||||||
@Deprecated("This annotation will be removed in a future release")
|
internal annotation class Retain
|
||||||
public annotation class Retain
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Preserve the function entry point during global optimizations, only for the given target.
|
* Preserve the function entry point during global optimizations, only for the given target.
|
||||||
*/
|
*/
|
||||||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
|
||||||
@Retention(AnnotationRetention.BINARY)
|
@Retention(AnnotationRetention.BINARY)
|
||||||
@Deprecated("This annotation will be removed in a future release")
|
internal annotation class RetainForTarget(val target: String)
|
||||||
public annotation class RetainForTarget(val target: String)
|
|
||||||
|
|
||||||
|
|
||||||
/** @suppress */
|
/** @suppress */
|
||||||
|
|||||||
Reference in New Issue
Block a user