Is there any reason why instead of only being able...
# kotlin-native
g
Is there any reason why instead of only being able to generate definitions from
C .h -> Kotlin Native type
you could write a compiler plugin that did codegen and emitted an
.h
?
Copy code
interface SomeStruct {
    @CType.Int32
    val anInt: Int
}
Copy code
typedef struct SomeStruct {
  int32_t anInt;
} SomeStruct;