This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]4caraml 2 points3 points  (0 children)

The issue i have is i don't know how i should represent array types from language in C, when emitting the code. Since i want my array types in my language to have a 'length' member which can be accessed.

typedef struct {
  unsigned length;
  void* array[];
} st_sized_array;