Add routine for getting proper typename

This commit is contained in:
Krzosa Karol
2022-06-17 10:58:12 +02:00
parent ae62b6933e
commit 218ca7266a
3 changed files with 64 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
main :: (argc: int, argv: **char): int
arena: Arena
arena_init(&arena)
data: *S64 = arena_push_size(&arena, size_of(S64))
data: *S64 = allocate((&arena)->*Allocator, size_of(S64))
*data = 10
arena_release(&arena)
arena_release(&arena)