mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update example.
This commit is contained in:
@@ -70,7 +70,7 @@ fn void main()
|
||||
{
|
||||
const String[] URLS = { "good", "title-empty", "title-missing", "head-missing", "fail" };
|
||||
DynamicArenaAllocator dynamic_arena;
|
||||
dynamic_arena.init(1024, allocator::heap());
|
||||
dynamic_arena.init(mem, 1024);
|
||||
OutStream out = io::stdout();
|
||||
foreach (String url : URLS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user