libfossil
fsl_finalizer Struct Reference

Generic interface for memory finalizers. More...

#include "fossil-util.h"

Data Fields

fsl_finalizer_f f
 Finalizer function. More...
 
void * state
 State to be passed as the first argument to f(). More...
 

Detailed Description

Generic interface for memory finalizers.

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

Field Documentation

fsl_finalizer_f fsl_finalizer::f

Finalizer function.

Should be called like this->f( this->state, ... ).

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

void* fsl_finalizer::state

State to be passed as the first argument to f().

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


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