pike.git/
src/
block_alloc.h
Branch:
Tag:
Non-build tags
All tags
No tags
2001-10-06
2001-10-06 12:04:08 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
08cf758b9efae30465ea5e621b97ca953b74265d (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
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; \