Branch: Tag:

1999-03-19

1999-03-19 11:39:49 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

more debug

Rev: src/dmalloc.h:1.10
Rev: src/pike_memory.c:1.35
Rev: src/program.h:1.54

1:   /* -  * $Id: dmalloc.h,v 1.9 1999/01/31 09:01:43 hubbe Exp $ +  * $Id: dmalloc.h,v 1.10 1999/03/19 11:39:29 hubbe Exp $    */      extern char *debug_xalloc(long);
33:   #define debug_malloc_pass(X) debug_malloc_update_location((X),__FILE__,__LINE__)   #define xalloc(X) ((char *)debug_malloc_touch(debug_xalloc(X)))   void debug_malloc_dump_references(void *x); + #define dmalloc_touch(TYPE,X) ((TYPE)debug_malloc_update_location((X),__FILE__,__LINE__))   #else   #define debug_malloc_dump_references(X)   #define xalloc debug_xalloc
41:   #define debug_malloc_update_location(X,Y,Z) (X)   #define debug_malloc_touch(X)   #define debug_malloc_pass(X) (X) + #define dmalloc_touch(TYPE,X) (X)   #endif