Permission is granted to use, modify, and / or redistribute at will.
*/
+/* -------------------------------------------------------------------------- */
+/* You should not have to edit anything in this file; if you DO have to, it */
+/* would be considered a bug / missing feature: notify the author(s). */
+/* -------------------------------------------------------------------------- */
+
/* -------------------------------------------------------------------------- */
/* Standard Version */
/* -------------------------------------------------------------------------- */
#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 );
-};
/* Digits array used by various integer conversion functions in <stdlib.h> */
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;
+};