[K/N] Deprecate Retain and RetainForTarget annotations
As a part of efforts to stabilize Native stdlib #KT-55765.
This commit is contained in:
committed by
Space Team
parent
273dcf1665
commit
5cc6338fb9
@@ -14,6 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@file:Suppress("DEPRECATION") // RetainForTarget
|
||||||
|
|
||||||
package kotlinx.wasm.jsinterop
|
package kotlinx.wasm.jsinterop
|
||||||
|
|
||||||
import kotlin.native.*
|
import kotlin.native.*
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ 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")
|
||||||
public annotation class Retain
|
public annotation class Retain
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -47,6 +48,7 @@ public annotation class Retain
|
|||||||
*/
|
*/
|
||||||
@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")
|
||||||
public annotation class RetainForTarget(val target: String)
|
public annotation class RetainForTarget(val target: String)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user