[Native] Don't produce broken @Deprecated annotations in c-interop
#KT-58651
This commit is contained in:
committed by
Space Team
parent
706a4e9919
commit
2b913d7c47
+1
-1
@@ -1,6 +1,6 @@
|
||||
enum class ForwardEnumPOD private constructor(value: Int) : Enum<ForwardEnumPOD>, CEnum {
|
||||
var value: ForwardEnumPOD
|
||||
@Deprecated(level = DeprecationLevel.WARNING, message = "Will be removed.", replaceWith = ReplaceWith(imports = {})) fun byValue(value: Int): ForwardEnumPOD
|
||||
@Deprecated(level = DeprecationLevel.WARNING, message = "Will be removed.", replaceWith = ReplaceWith(expression = "", imports = {})) fun byValue(value: Int): ForwardEnumPOD
|
||||
var varPOD: ForwardEnumPOD
|
||||
@CCall(id = "knifunptr_pod10_varPOD_getter") get
|
||||
@CCall(id = "knifunptr_pod11_varPOD_setter") set
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
@ConstantValue.Int(value = 0) enum entry Value1POD
|
||||
@ConstantValue.Int(value = 1) enum entry Value2POD
|
||||
var value: ForwardEnumPOD
|
||||
@Deprecated(level = DeprecationLevel.WARNING, message = "Will be removed.", replaceWith = ReplaceWith(imports = {})) fun byValue(value: Int): ForwardEnumPOD
|
||||
@Deprecated(level = DeprecationLevel.WARNING, message = "Will be removed.", replaceWith = ReplaceWith(expression = "", imports = {})) fun byValue(value: Int): ForwardEnumPOD
|
||||
Reference in New Issue
Block a user