libcute 0.1
Loading...
Searching...
No Matches
Public Attributes | List of all members
cu_Allocator Struct Reference

#include <allocator.h>

Collaboration diagram for cu_Allocator:
Collaboration graph
[legend]

Public Attributes

void * self
 
cu_Allocator_AllocFunc allocFn
 
cu_Allocator_GrowFunc growFn
 
cu_Allocator_ShrinkFunc shrinkFn
 
cu_Allocator_FreeFunc freeFn
 

Detailed Description

Generic allocator with user-provided callbacks.

Member Data Documentation

◆ allocFn

cu_Allocator_AllocFunc cu_Allocator::allocFn

allocate memory

◆ freeFn

cu_Allocator_FreeFunc cu_Allocator::freeFn

free memory

◆ growFn

cu_Allocator_GrowFunc cu_Allocator::growFn

grow previously allocated memory

◆ self

void* cu_Allocator::self

implementation specific data

◆ shrinkFn

cu_Allocator_ShrinkFunc cu_Allocator::shrinkFn

shrink previously allocated memory


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