Gavin Ray
10/21/2021, 4:16 PMC .h -> Kotlin Native type
you could write a compiler plugin that did codegen and emitted an .h
?
interface SomeStruct {
@CType.Int32
val anInt: Int
}
typedef struct SomeStruct {
int32_t anInt;
} SomeStruct;
sergey.bogolepov
10/22/2021, 10:13 AM