libfossil
fsl_allocator Struct Reference

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

#include "fossil-util.h"

Data Fields

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

Detailed Description

Holds an allocator function and its related state.

Definition at line 395 of file fossil-util.h.

Field Documentation

fsl_realloc_f fsl_allocator::f

Base allocator function.

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

Definition at line 400 of file fossil-util.h.

void* fsl_allocator::state

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

Definition at line 405 of file fossil-util.h.


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