pike.git / src / dmalloc.h

version» Context lines:

pike.git/src/dmalloc.h:1:   /* -  * $Id: dmalloc.h,v 1.33 2001/10/03 22:21:32 nilsson Exp $ +  * $Id: dmalloc.h,v 1.34 2001/10/06 12:04:08 hubbe Exp $    */      PMOD_EXPORT extern void *debug_xalloc(size_t);   PMOD_EXPORT extern void debug_xfree(void *);   PMOD_EXPORT extern void *debug_xmalloc(size_t);   PMOD_EXPORT extern void *debug_xcalloc(size_t,size_t);   PMOD_EXPORT extern void *debug_xrealloc(void *,size_t);      #define DMALLOC_LOCATION() (("NS" __FILE__ ":" DEFINETOSTR(__LINE__) )+1)   
pike.git/src/dmalloc.h:37: Inside #if defined(DEBUG_MALLOC)
  extern void *debug_malloc(size_t, char *);   extern void *debug_calloc(size_t, size_t, char *);   extern void *debug_realloc(void *, size_t, char *);   extern void debug_free(void *, char *,int);   extern char *debug_strdup(const char *, char *);   extern void reset_debug_malloc(void);   extern void dmalloc_free(void *p);   extern int debug_malloc_touch_fd(int, char *);   extern int debug_malloc_register_fd(int, char *);   extern int debug_malloc_close_fd(int, char *); + extern int dmalloc_mark_as_free(void*,int);      void *debug_malloc_update_location(void *, char *);   void *debug_malloc_update_location_ptr(void *, ptrdiff_t, char *);   void search_all_memheaders_for_references(void);      /* Beware! names of named memory regions are never ever freed!! /Hubbe */   void *debug_malloc_name(void *p, char *fn, int line);   int debug_malloc_copy_names(void *p, void *p2);   char *dmalloc_find_name(void *p);