koliseo 0.5.4
|
Represents the initialised arena allocator struct. More...
#include <koliseo.h>
Data Fields | |
char * | data |
Points to data field. | |
ptrdiff_t | size |
Size of data field. | |
ptrdiff_t | offset |
Current position of memory pointer. | |
ptrdiff_t | prev_offset |
Previous position of memory pointer. | |
int | has_temp |
When == 1, a Koliseo_Temp is currently active on this Koliseo. | |
KLS_Conf | conf |
Contains flags to change the Koliseo behaviour. | |
KLS_Stats | stats |
Contains stats for Koliseo performance analysis. | |
struct Koliseo_Temp * | t_kls |
Points to related active Kolieo_Temp, when has_temp == 1. | |
KLS_Hooks | hooks [KLS_MAX_EXTENSIONS] |
Contains handlers for extensions. | |
void * | extension_data [KLS_MAX_EXTENSIONS] |
Points to data for extensions. | |
size_t | hooks_len |
Length for hooks and extension_data. | |
kls_free_func * | free_func |
Points to the free function for the arena's backing memory. | |
struct Koliseo * | next |
Points to the next Koliseo when conf.kls_growable == 1. |
Represents the initialised arena allocator struct.
char* Koliseo::data |
Points to data field.
void* Koliseo::extension_data[KLS_MAX_EXTENSIONS] |
Points to data for extensions.
kls_free_func* Koliseo::free_func |
Points to the free function for the arena's backing memory.
int Koliseo::has_temp |
When == 1, a Koliseo_Temp is currently active on this Koliseo.
KLS_Hooks Koliseo::hooks[KLS_MAX_EXTENSIONS] |
Contains handlers for extensions.
size_t Koliseo::hooks_len |
Length for hooks and extension_data.
ptrdiff_t Koliseo::offset |
Current position of memory pointer.
ptrdiff_t Koliseo::prev_offset |
Previous position of memory pointer.
ptrdiff_t Koliseo::size |
Size of data field.
struct Koliseo_Temp* Koliseo::t_kls |
Points to related active Kolieo_Temp, when has_temp == 1.