Use asserts in dbl_list

This commit is contained in:
2025-05-05 19:55:42 +01:00
parent 175f627f93
commit cac66b9dbb
12 changed files with 288 additions and 430 deletions

View File

@@ -1,6 +1,4 @@
if (index >= list->node_count) {{
return NULL;
}}
assert(index < list->node_count);
{NodeType} *output = NULL;
{NodeType} *current = list->first;