]> pd.if.org Git - pdclib/commitdiff
Moved internal struct definitions to _PDCLIB_int.h where they belong.
authorsolar <unknown>
Mon, 30 Jan 2006 18:33:59 +0000 (18:33 +0000)
committersolar <unknown>
Mon, 30 Jan 2006 18:33:59 +0000 (18:33 +0000)
internals/_PDCLIB_aux.h
internals/_PDCLIB_int.h

index a4e7a621e3565ec5457deeea061b273be519491f..aa5c1289f481bd9fa274ab8ad332eede6edf674a 100644 (file)
@@ -8,6 +8,11 @@
    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 );
-};
index 8f2cf74ffb467618bd5ac588d52e14f2b34ea46c..ba5ab61bb6ea21d75e30cc66b194589dd66cbb13 100644 (file)
@@ -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 <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;
+};