[Kotlin/Native][Interop] Skia interop plugin for cinterop
This commit is contained in:
+9
-1
@@ -23,6 +23,10 @@ annotation class CStruct(val spelling: String) {
|
||||
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
annotation class VarType(val size: Long, val align: Int)
|
||||
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
annotation class ManagedType
|
||||
}
|
||||
|
||||
@Target(
|
||||
@@ -59,6 +63,10 @@ public annotation class CCall(val id: String) {
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
annotation class Consumed
|
||||
|
||||
@Target(AnnotationTarget.CONSTRUCTOR)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
annotation class CppClassConstructor
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -102,4 +110,4 @@ public annotation class CEnumEntryAlias(val entryName: String)
|
||||
*/
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
public annotation class CEnumVarTypeSize(val size: Int)
|
||||
public annotation class CEnumVarTypeSize(val size: Int)
|
||||
|
||||
Reference in New Issue
Block a user