|
memory_arena
|
Internal structure for managing arena hooks. More...
#include <arena_hooks.h>
Public Member Functions | |
| _Atomic (arena_allocation_hook) hook_cb | |
| The active allocation hook callback. | |
Data Fields | |
| void * | context |
| Optional user data passed to the hook. | |
Internal structure for managing arena hooks.
This structure stores the current allocation hook and an optional user-defined context that can be used inside the hook.
Definition at line 67 of file arena_hooks.h.
| s_arena_hooks::_Atomic | ( | arena_allocation_hook | ) |
The active allocation hook callback.
| void* s_arena_hooks::context |
Optional user data passed to the hook.
Definition at line 70 of file arena_hooks.h.