libfossil
fsl_finalizer Struct Reference

Generic interface for memory finalizers. More...

#include "util.h"

Collaboration diagram for fsl_finalizer:

Data Fields

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

Detailed Description

Generic interface for memory finalizers.

Definition at line 208 of file util.h.

Field Documentation

◆ f

fsl_finalizer_f fsl_finalizer::f

Finalizer function.

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

Definition at line 216 of file util.h.

◆ state

void* fsl_finalizer::state

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

Definition at line 212 of file util.h.


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