Update dbl_list codegen

This commit is contained in:
2025-04-19 20:54:04 +01:00
parent add2ba541d
commit 8dbdfa2094
10 changed files with 83 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
{Ttitle}Node *output = NULL;
{NodeType} *output = NULL;
if (!list || list->node_count == 0) {{
goto RETURN_{Tupper}_LIST_POP_FRONT;
@@ -7,7 +7,7 @@
output = list->first;
if (list->node_count == 1) {{
*list = ({Ttitle}List){{0}};
*list = ({ListType}){{0}};
goto RETURN_{Tupper}_LIST_POP_FRONT;
}}