X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=internals%2F_PDCLIB_aux.h;h=a4e7a621e3565ec5457deeea061b273be519491f;hp=be39eb21063a5e229f9b9b7fc2ece2ad1c6700ec;hb=9776b3400080a53347b2d45de16617342d4c7794;hpb=fed8fdd8d3e229f8910d82d90e2cd249947b58e2 diff --git a/internals/_PDCLIB_aux.h b/internals/_PDCLIB_aux.h index be39eb2..a4e7a62 100644 --- a/internals/_PDCLIB_aux.h +++ b/internals/_PDCLIB_aux.h @@ -60,3 +60,14 @@ #define _PDCLIB_symbol2value( x ) #x #define _PDCLIB_symbol2string( x ) _PDCLIB_symbol2value( x ) #define _PDCLIB_symbol2identity( x ) x + +/* -------------------------------------------------------------------------- */ +/* Internal data types */ +/* -------------------------------------------------------------------------- */ + +/* Structure required by both atexit() and exit() for handling atexit functions */ +struct _PDCLIB_exitfunc_t +{ + struct _PDCLIB_exitfunc_t * next; + void (*func)( void ); +};