Documented PYMALLOC_DEBUG. This completes primary coverage of all the

"special builds" I ever use.  If you use others, document them here, or
don't be surprised if I rip out the code for them <0.5 wink>.
This commit is contained in:
Tim Peters 2002-07-10 19:29:49 +00:00
parent e4523c46b9
commit 889f61dcfb
2 changed files with 53 additions and 1 deletions

View file

@ -881,7 +881,7 @@ PyObject_Free(void *p)
#undef DEADBYTE
#undef FORBIDDENBYTE
#define CLEANBYTE 0xCB /* clean (newly allocated) memory */
#define DEADBYTE 0xDB /* deed (newly freed) memory */
#define DEADBYTE 0xDB /* dead (newly freed) memory */
#define FORBIDDENBYTE 0xFB /* untouchable bytes at each end of a block */
static ulong serialno = 0; /* incremented on each debug {m,re}alloc */