libfossil
fsl_allocator Struct Reference

Holds an allocator function and its related state. More...

#include "util.h"

Collaboration diagram for fsl_allocator:

Data Fields

fsl_realloc_f f
 Base allocator function.
void * state
 State intended to be passed as the first argument to this->f().

Detailed Description

Holds an allocator function and its related state.

Definition at line 403 of file util.h.

Field Documentation

◆ f

fsl_realloc_f fsl_allocator::f

Base allocator function.

It must be passed this->state as its first argument.

Definition at line 408 of file util.h.

◆ state

void* fsl_allocator::state

State intended to be passed as the first argument to this->f().

Definition at line 412 of file util.h.


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