Update dbl_list codegen
This commit is contained in:
1 parent
add2ba541d
commit
8dbdfa2094
10 files changed
+83
-28
No files matched your search
@@ -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;
|
||||
}}
|
||||
|
||||
|
||||
Reference in new issue
Block a user