diff options
| author | 2022-08-19 16:31:16 +0200 | |
|---|---|---|
| committer | 2022-08-19 16:31:16 +0200 | |
| commit | 57af02b91cb3a9eef66137c85aab7e47bdd7d0a5 (patch) | |
| tree | c0597811c61d473263559ab7ffefe68ab8785c47 /src/mem.hff | |
| parent | 9e408967cbdfa1d04e4bd4bc963399e7be78c0a7 (diff) | |
labels, #FILE #LINE, some bugfixes, c types
Diffstat (limited to 'src/mem.hff')
| -rw-r--r-- | src/mem.hff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem.hff b/src/mem.hff index 3f3b8c9..f3689ac 100644 --- a/src/mem.hff +++ b/src/mem.hff @@ -1,7 +1,7 @@ import "libc.hff"; defmacro ALIGNUP(x,a) [ (((x) + ((a) - 1)) & -(a)) ] -def ARENA_SIZE = 4 * 1024; +def ARENA_SIZE = 4z * 1024; extern fn xmalloc(n usize) *void; extern fn xcalloc(n usize, m usize) *void; extern fn xrealloc(p *void, n usize) *void; |