cbase 1.50.0
C/C++ Static Template
Loading...
Searching...
No Matches
MemAllocator Struct Reference

An abstract allocator interface. More...

#include <mem_allocator.h>

Public Attributes

MemAllocFn fn
void * ctx

Detailed Description

An abstract allocator interface.

Definition at line 83 of file mem_allocator.h.

Member Data Documentation

◆ ctx

void* MemAllocator::ctx

The specific state context (e.g., a pointer to MemArena or MemGpAlloc).

Definition at line 85 of file mem_allocator.h.

◆ fn

MemAllocFn MemAllocator::fn

The function pointer that implements the allocation logic.

Definition at line 84 of file mem_allocator.h.


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