[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
Vendored
+1
-1
@@ -5,7 +5,7 @@ package pod1 {
|
||||
var __ap: COpaquePointer? /* = CPointer<out CPointed>? */
|
||||
@CStruct.MemberAt(offset = 0.toLong()) get
|
||||
@CStruct.MemberAt(offset = 0.toLong()) set
|
||||
@CStruct.VarType(align = 4, size = 4.toLong()) @Deprecated(level = DeprecationLevel.WARNING, message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = ReplaceWith(imports = {})) companion object : CStructVar.Type
|
||||
@CStruct.VarType(align = 4, size = 4.toLong()) @Deprecated(level = DeprecationLevel.WARNING, message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = ReplaceWith(expression = "", imports = {})) companion object : CStructVar.Type
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -17,7 +17,7 @@ package pod1 {
|
||||
var __vr_top: COpaquePointer? /* = CPointer<out CPointed>? */
|
||||
@CStruct.MemberAt(offset = 16.toLong()) get
|
||||
@CStruct.MemberAt(offset = 16.toLong()) set
|
||||
@CStruct.VarType(align = 8, size = 32.toLong()) @Deprecated(level = DeprecationLevel.WARNING, message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = ReplaceWith(imports = {})) companion object : CStructVar.Type
|
||||
@CStruct.VarType(align = 8, size = 32.toLong()) @Deprecated(level = DeprecationLevel.WARNING, message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = ReplaceWith(expression = "", imports = {})) companion object : CStructVar.Type
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -14,7 +14,7 @@ package pod1 {
|
||||
var reg_save_area: COpaquePointer? /* = CPointer<out CPointed>? */
|
||||
@CStruct.MemberAt(offset = 16.toLong()) get
|
||||
@CStruct.MemberAt(offset = 16.toLong()) set
|
||||
@CStruct.VarType(align = 8, size = 24.toLong()) @Deprecated(level = DeprecationLevel.WARNING, message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = ReplaceWith(imports = {})) companion object : CStructVar.Type
|
||||
@CStruct.VarType(align = 8, size = 24.toLong()) @Deprecated(level = DeprecationLevel.WARNING, message = "Use sizeOf<T>() or alignOf<T>() instead.", replaceWith = ReplaceWith(expression = "", imports = {})) companion object : CStructVar.Type
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user