Closer to old state

This commit is contained in:
Krzosa Karol
2022-06-10 14:08:27 +02:00
parent d5d9911f3e
commit 89b3e00ae4
8 changed files with 219 additions and 422 deletions

View File

@@ -1,37 +1,14 @@
Str16 :: String16
// arena_pointer: *Arena = null
arena_pointer: *Arena = 0
thing: Arena
no_type := thing
constant_access := Arena.constant_inside
arena := Arena(
// next = null,
// data = null,
len = 1000,
cap = 1000,
)
// lambda_value := (val: S64) // @todo
// return
Arena :: struct
// arena: Arena
next: *Arena
data: *S64
len : S64
cap : S64
Sub :: struct
len: S64
Sub_Sub :: struct
len: S64
get_len :: (s: *Arena): S64 // @todo
return s.next.len
constant_inside :: 10000
// subarena: Arena.Sub // @todo
string16: Str16
String16 :: struct