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

@@ -2,7 +2,7 @@
return;
}}
{Ttitle}List node_list = {Tlower}_node_to_list(node);
{ListType} node_list = {Tlower}_node_to_list(node);
if (list->node_count == 0) {{
*list = node_list;
@@ -11,7 +11,7 @@
list->node_count += node_list.node_count;
{Ttitle}Node *last = list->last;
{NodeType} *last = list->last;
if (last) {{
last->next = node_list.first;
}}