Fixed CSV Parsing on tools

This commit is contained in:
2023-01-28 21:01:30 -08:00
parent fcaeebd316
commit d14e063ba6
17 changed files with 347 additions and 19 deletions

View File

@ -20,6 +20,17 @@ static inline void * memoryAllocate(const size_t size) {
return (void *)malloc(size);
}
/**
* Allocate space in memory, where all values are set to 0 (in binary space).
*
* @param size Size of the array.
* @return Pointer to the space in memory to use.
*/
static inline void * memoryFillWithZero(const size_t size) {
return (void *)calloc(1, size);
}
/**
* Free some previously allocated memory space.
* @param pointer Pointer in memory to free.