some Array improvements

This commit is contained in:
2023-01-20 19:57:37 +06:00
parent 3a20caf380
commit 29a5b22286
7 changed files with 42 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ static inline Array_##type Array_##type##_fromBuffer(type* buffer, uint32 buffer
};\
}\
\
static inline void Array_##type##_freeValues(Array_##type* array){\
static inline void Array_##type##_free(Array_##type* array){\
if(array->allocatedOnHeap)\
free(array->values);\
}