Open elfring opened 6 years ago
The following source code structure is repeated a few times.
… …* p = malloc(…); assertalloc_ptr(p); …
How do you think about to combine it into a function like “aco_malloc” (or “aco_calloc”)?
aco_malloc
aco_calloc
Thanks Markus for your proposal :D
I would like to add it to the ToDo list and this adjustment will be released with the new API aco_reset in the future v1.3.0.
aco_reset
The following source code structure is repeated a few times.
How do you think about to combine it into a function like “
aco_malloc
” (or “aco_calloc
”)?