Fixed CSV Parsing on tools
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user