pike.git / src / dmalloc.h

version» Context lines:

pike.git/src/dmalloc.h:1:   /* -  * $Id: dmalloc.h,v 1.18 1999/10/30 06:31:02 mast Exp $ +  * $Id: dmalloc.h,v 1.19 2000/03/07 21:23:41 hubbe Exp $    */      extern char *debug_xalloc(long);   #ifdef DEBUG_MALLOC   struct memhdr;      void dump_memhdr_locations(struct memhdr *from,    struct memhdr *notfrom);   struct memhdr *alloc_memhdr(void);   void really_free_memhdr(struct memhdr *mh);
pike.git/src/dmalloc.h:21: Inside #if defined(DEBUG_MALLOC)
  extern void *debug_realloc(void *, size_t, const char *, int);   extern void debug_free(void *, const char *, int,int);   extern char *debug_strdup(const char *, const char *, int);   extern void reset_debug_malloc(void);   extern void dmalloc_free(void *p);   extern int debug_malloc_touch_fd(int, const char *, int);   extern int debug_malloc_register_fd(int, const char *, int);   extern int debug_malloc_close_fd(int, const char *, int);      void *debug_malloc_update_location(void *,const char *, int); + void search_all_memheaders_for_references(void);      /* Beware! names of named memory regions are never ever freed!! /Hubbe */   void *debug_malloc_name(void *p,const char *fn, int line);   void debug_malloc_copy_names(void *p, void *p2);      /* glibc 2.1 defines this as a macro. */   #ifdef strdup   #undef strdup   #endif   
pike.git/src/dmalloc.h:75:   #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)   #define dmalloc_touch_svalue(X)   #define dmalloc_register(X,Y,Z,W)   #define dmalloc_unregister(X,Y)   #define debug_free(X,Y,Z,Q) free((X))   #define debug_malloc_name(P,FN,LINE)   #define debug_malloc_copy_names(p,p2) + #define search_all_memheaders_for_references()   #endif