Add static, runtime and debug assert utilities
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
assert(allocator != NULL && array != NULL);
|
||||
wapp_debug_assert(allocator != NULL && array != NULL, "`allocator` and `array` should not be NULL");
|
||||
|
||||
{ArrayType} *output = array;
|
||||
|
||||
|
Reference in New Issue
Block a user