Branch: Tag:

2001-10-06

2001-10-06 12:04:08 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug

Rev: src/block_alloc.h:1.39
Rev: src/dmalloc.h:1.34
Rev: src/pike_macros.h:1.27

1: - /* $Id: block_alloc.h,v 1.38 2001/09/25 21:23:30 hubbe Exp $ */ + /* $Id: block_alloc.h,v 1.39 2001/10/06 12:04:08 hubbe Exp $ */   #undef PRE_INIT_BLOCK   #undef INIT_BLOCK   #undef EXIT_BLOCK
109:   { \    EXIT_BLOCK(d); \    DO_IF_DMALLOC( PIKE_CONCAT(check_free_,DATA)(d); \ -  dmalloc_unregister(d, 1); ) \ +  dmalloc_mark_as_free(d, 1); ) \    d->BLOCK_ALLOC_NEXT = (void *)PIKE_CONCAT3(free_,DATA,s); \    PRE_INIT_BLOCK(d); \    PIKE_CONCAT3(free_,DATA,s)=d; \
120:    EXIT_BLOCK(d); \    DO_IF_RUN_UNLOCKED(mt_lock(&PIKE_CONCAT(DATA,_mutex))); \    DO_IF_DMALLOC( PIKE_CONCAT(check_free_,DATA)(d); \ -  dmalloc_unregister(d, 1); ) \ +  dmalloc_mark_as_free(d, 1); ) \    d->BLOCK_ALLOC_NEXT = (void *)PIKE_CONCAT3(free_,DATA,s); \    PRE_INIT_BLOCK(d); \    PIKE_CONCAT3(free_,DATA,s)=d; \