Add new restriction
This commit is contained in:
1 parent
03f7a75e54
commit
acb1aa8104
1 file changed
+1
@@ -320,6 +320,7 @@ static inline int sharedi_integer_cref(int *p) { return *p; }
|
||||
M_C(name, _init)(M_C(name, _t) s, size_t n) \
|
||||
{ \
|
||||
assert(s != NULL); \
|
||||
assert (n > 0); \
|
||||
s->buffer = M_GET_REALLOC oplist (M_C(name, _atype_t), NULL, n); \
|
||||
if (M_UNLIKELY (s->buffer == NULL)) { \
|
||||
M_MEMORY_FULL(sizeof(M_C(name, _atype_t)) * n); \
|
||||
|
||||
Reference in new issue
Block a user