libyasm
Data Fields
yasm_assoc_data_callback Struct Reference

YASM associated data callback structure. More...

#include <coretype.h>

Data Fields

void(* destroy )(void *data)
 Free memory allocated for associated data. More...
 
void(* print )(void *data, FILE *f, int indent_level)
 Print a description of allocated data. More...
 

Detailed Description

YASM associated data callback structure.

Many data structures can have arbitrary data associated with them.

Definition at line 73 of file coretype.h.

Field Documentation

void(* yasm_assoc_data_callback::destroy)(void *data)

Free memory allocated for associated data.

Parameters
dataassociated data

Definition at line 77 of file coretype.h.

void(* yasm_assoc_data_callback::print)(void *data, FILE *f, int indent_level)

Print a description of allocated data.

For debugging purposes.

Parameters
dataassociated data
foutput file
indent_levelindentation level

Definition at line 84 of file coretype.h.


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