Fix codegen bugs
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
}}
|
||||
|
||||
if (index == 0) {{
|
||||
wapp_{T}_list_push_front(list, node);
|
||||
wapp_{Tlower}_list_push_front(list, node);
|
||||
return;
|
||||
}} else if (index == list->node_count) {{
|
||||
wapp_{T}_list_push_back(list, node);
|
||||
wapp_{Tlower}_list_push_back(list, node);
|
||||
return;
|
||||
}}
|
||||
|
||||
{T}Node *dst_node = wapp_{T}_list_get(list, index);
|
||||
{T}Node *dst_node = wapp_{Tlower}_list_get(list, index);
|
||||
if (!dst_node) {{
|
||||
return;
|
||||
}}
|
||||
|
Reference in New Issue
Block a user