Fixed CSV Parsing on tools

This commit is contained in:
2023-01-28 21:01:30 -08:00
parent 104af8ff45
commit 9ebd4eb6ad
16 changed files with 345 additions and 18 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.