void FormatOutputSpy_Create(int size) { FormatOutputSpy_Destroy(); buffer_size = (size_t)size+1; buffer = (char*)calloc(buffer_size,sizeof(char)); buffer_offset = 0; buffer_used = 0; buffer[0] = '\0'; }
void teardown() { CircularBuffer_Destroy(buffer); FormatOutputSpy_Destroy(); }