Branch: Tag:

1998-04-16

1998-04-16 21:30:09 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

new efun: _reset_dmalloc()

Rev: src/builtin_functions.c:1.99
Rev: src/dmalloc.h:1.7
Rev: src/pike_memory.c:1.22

1:   /* -  * $Id: dmalloc.h,v 1.6 1998/04/06 04:20:42 hubbe Exp $ +  * $Id: dmalloc.h,v 1.7 1998/04/16 21:30:09 hubbe Exp $    */   #ifdef DEBUG_MALLOC   
21: Inside #if defined(DEBUG_MALLOC)
  extern void *debug_realloc(void *, size_t, const char *, int);   extern void debug_free(void *, const char *, int);   extern char *debug_strdup(const char *, const char *, int); + extern void reset_debug_malloc(void);   void *debug_malloc_update_location(void *,const char *, int);   #define malloc(x) debug_malloc((x), __FILE__, __LINE__)   #define calloc(x, y) debug_calloc((x), (y), __FILE__, __LINE__)