-#if MEMCLUMPING
-typedef struct memclump_s
-{
- // contents of the clump
- unsigned char block[MEMCLUMPSIZE];
- // should always be MEMCLUMP_SENTINEL
- unsigned int sentinel1;
- // if a bit is on, it means that the MEMUNIT bytes it represents are
- // allocated, otherwise free
- int bits[MEMBITINTS];
- // should always be MEMCLUMP_SENTINEL
- unsigned int sentinel2;
- // if this drops to 0, the clump is freed
- size_t blocksinuse;
- // largest block of memory available (this is reset to an optimistic
- // number when anything is freed, and updated when alloc fails the clump)
- size_t largestavailable;
- // next clump in the chain
- struct memclump_s *chain;
-}
-memclump_t;
-#endif
-