Work on order independent structs + cleanup

This commit is contained in:
Krzosa Karol
2022-05-29 20:32:04 +02:00
parent ea1b74cda0
commit b6ea62fd67
6 changed files with 96 additions and 82 deletions

View File

@@ -1,6 +1,22 @@
arena_pointer: *Arena = null
Arena :: struct
// next: *Arena
data: *int
len : int
cap : int
string16: Str16
String16 :: struct
data: *void
len : int
thing: Arena
no_type := thing
with_type: Arena = thing
pointer := &with_type
deref := *pointer
Str16 :: String16