X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=internals%2F_PDCLIB_int.h;h=ba5ab61bb6ea21d75e30cc66b194589dd66cbb13;hp=8f2cf74ffb467618bd5ac588d52e14f2b34ea46c;hb=702a39f38d4ac7feefbdc753d629b69d050bc671;hpb=dbe4b51282a298dc8ef8178ecb9652dcd297afb7 diff --git a/internals/_PDCLIB_int.h b/internals/_PDCLIB_int.h index 8f2cf74..ba5ab61 100644 --- a/internals/_PDCLIB_int.h +++ b/internals/_PDCLIB_int.h @@ -265,3 +265,27 @@ _PDCLIB_uintmax_t _PDCLIB_strtox_main( const char ** p, int base, _PDCLIB_uintma /* Digits array used by various integer conversion functions in */ extern char _PDCLIB_digits[]; + +/* -------------------------------------------------------------------------- */ +/* 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 ); +}; + +/* Structures required by malloc(), realloc(), and free(). */ +struct _PDCLIB_headnode_t +{ + struct _PDCLIB_memnode_t * first; + struct _PDCLIB_memnode_t * last; +}; + +struct _PDCLIB_memnode_t +{ + struct _PDCLIB_memnode_t * next; + _PDCLIB_size_t size; +};