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 *first = list->first;
|
||||
{NodeType} *first = list->first;
|
||||
if (first) {{
|
||||
first->prev = node_list.last;
|
||||
}}
|
||||
|
Reference in New Issue
Block a user