Changeset 123 for trunk/include/helpers/memdebug.h
- Timestamp:
- Dec 14, 2001, 11:41:33 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/memdebug.h
r113 r123 80 80 typedef struct _HEAPITEM 81 81 { 82 struct _HEAPITEM *pNext; // next item in linked list or NULL if last82 // struct _HEAPITEM *pNext; // next item in linked list or NULL if last 83 83 84 void *pAfterMagic; // memory pointer returned by memdMalloc; 85 // this points to after the magic string 84 TREE Tree; // tree node for tree.* functions; 85 // ulKey has the pointer that is returned 86 // by memdMalloc and points to after the 87 // magic string (in the buffer that was 88 // really allocated). Using this as the 89 // tree sort key allows us to do fast 90 // searches in memdFree. 91 92 // void *pAfterMagic; // memory pointer returned by memdMalloc; 93 // this points to after the magic string 94 86 95 unsigned long ulSize; // requested size (without magic head and tail) 87 96 … … 97 106 } HEAPITEM, *PHEAPITEM; 98 107 99 extern PHEAPITEM G_pHeapItemsRoot; 108 extern TREE *G_pHeapItemsRoot; 109 extern LONG G_cHeapItems; 100 110 extern ULONG G_ulItemsReleased; 101 111 extern ULONG G_ulBytesReleased;
Note:
See TracChangeset
for help on using the changeset viewer.