Update dbl_list codegen
This commit is contained in:
@@ -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;
|
||||
}}
|
||||
|
Reference in New Issue
Block a user