pike.git / src / dmalloc.h

version» Context lines:

pike.git/src/dmalloc.h:1: Inside #if defined(DEBUG_MALLOC)
  #ifdef DEBUG_MALLOC    + struct memhdr; +  + void dump_memhdr_locations(struct memhdr *from, +  struct memhdr *notfrom); + struct memhdr *alloc_memhdr(void); + void free_memhdr(struct memhdr *mh); + void add_marks_to_memhdr(struct memhdr *to,void *ptr); + void low_add_marks_to_memhdr(struct memhdr *to, +  struct memhdr *from); +    extern int verbose_debug_malloc;   extern int verbose_debug_exit;   extern void *debug_malloc(size_t, const char *, int);   extern char *debug_xalloc(long);   extern void *debug_calloc(size_t, size_t, const char *, int);   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);   void *debug_malloc_update_location(void *,const char *, int);   #define malloc(x) debug_malloc((x), __FILE__, __LINE__)