]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_aux.h
Moved struct definition to internal header.
[pdclib] / internals / _PDCLIB_aux.h
index be39eb21063a5e229f9b9b7fc2ece2ad1c6700ec..a4e7a621e3565ec5457deeea061b273be519491f 100644 (file)
 #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 );
+};