Use asserts in array
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
{T} *ptr = wapp_{Tlower}_array_get(array, index);
|
||||
if (!ptr) {{
|
||||
return;
|
||||
}}
|
||||
|
||||
memcpy((void *)ptr, (void *)item, array->item_size);
|
||||
|
Reference in New Issue
Block a user