data.h
uint32_t used
Number of valid bytes currently referenced by pointer.
Definition: data.h:106
Data structure used for reusing memory which may have been allocated in a previous operation.
Definition: data.h:101
uint32_t allocated
Number of bytes allocated at the pointer.
Definition: data.h:103
void fiftyoneDegreesDataReset(fiftyoneDegreesData *data)
Resets the data structure ready for a new operation.
void * fiftyoneDegreesDataMalloc(fiftyoneDegreesData *data, size_t bytesNeeded)
Ensures the data structure contains sufficient bytes.