memory_arena
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
s_arena_hooks Struct Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ _Atomic()

s_arena_hooks::_Atomic ( arena_allocation_hook  )

The active allocation hook callback.

Field Documentation

◆ context

void* s_arena_hooks::context

Optional user data passed to the hook.

Definition at line 70 of file arena_hooks.h.


The documentation for this struct was generated from the following file: