fix arry size bug

This commit is contained in:
Laurent THOMAS
2021-06-16 10:41:45 +02:00
parent d249c1ef80
commit 015ba5f076
7 changed files with 24 additions and 17 deletions
+1
View File
@@ -7,6 +7,7 @@
extern "C" {
#endif
#define sizeofArray(a) (sizeof(a)/sizeof(*(a)))
void *calloc_or_fail(size_t size);
void *malloc_or_fail(size_t size);