Statically allocating `CVariable`s
When a C function needs a struct as parameter, you have to allocate it on the heap, but in most cases, we could just store the struct in the output binary.
Proposing: static allocation functions.
Functions that are resolved at compile time.
fun allocStatic(size: Int, align: Int): NativePointed,
fun allocStatic(): T,
fun allocStaticArray(length: Int): CArrayPointer
These functions are equal to defining the struct as a global.
Example Kotlin code:
fun a(): Float {
val v1 = allocStatic()...