[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)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
@Deprecated("This annotation will be removed in a future release")
|
||||
public annotation class Retain
|
||||
internal annotation class Retain
|
||||
|
||||
/**
|
||||
* Preserve the function entry point during global optimizations, only for the given target.
|
||||
*/
|
||||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
@Deprecated("This annotation will be removed in a future release")
|
||||
public annotation class RetainForTarget(val target: String)
|
||||
internal annotation class RetainForTarget(val target: String)
|
||||
|
||||
|
||||
/** @suppress */
|
||||
|
||||
Reference in New Issue
Block a user