Fixed CSV Parsing on tools

This commit is contained in:
YourWishes committed 2023-01-28 21:01:30 -08:00
1 parent fcaeebd316
commit d14e063ba6
17 files changed
+347 -19

No files matched your search

+11
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.