mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Updated memory allocator. Fix in printf printing pointers. Added aligned_alloc to libc module. Renamed MemoryArena -> ArenaAllocator. New temp allocator. @pool(), @scoped, @tscoped macros. Bump to 0.3.2.
This commit is contained in:
@@ -121,7 +121,7 @@ fn void main()
|
||||
dynamic_arena.init(1024);
|
||||
foreach (char[] url : URLS)
|
||||
{
|
||||
mem::@with_allocator(&dynamic_arena)
|
||||
mem::@scoped(&dynamic_arena)
|
||||
{
|
||||
io::printf(`Checking "https://%s/":` "\n", url);
|
||||
Summary summary = readAndBuildSummary(url);
|
||||
|
||||
Reference in New Issue
Block a user