pike.git / src / dmalloc.h

version» Context lines:

pike.git/src/dmalloc.h:1:   /* -  * $Id: dmalloc.h,v 1.26 2000/08/04 01:32:39 hubbe Exp $ +  * $Id: dmalloc.h,v 1.27 2000/09/02 23:11:27 mast Exp $    */      extern char *debug_xalloc(size_t);      #define DMALLOC_LOCATION() ("S" __FILE__ ":" DEFINETOSTR(__LINE__) )      #ifdef DEBUG_MALLOC   struct memhdr;      void dump_memhdr_locations(struct memhdr *from,
pike.git/src/dmalloc.h:73:   void dmalloc_set_mmap_from_template(void *p, void *p2);   void dmalloc_describe_location(void *p, int offset, int indent);   struct memory_map *dmalloc_alloc_mmap(char *name, int line);   void dmalloc_add_mmap_entry(struct memory_map *m,    char *name,    int offset,    int size,    int count,    struct memory_map *recur,    int recur_offset); + int dmalloc_is_invalid_memory_block(void *block);         #else   #define dmalloc_touch_fd(X) (X)   #define dmalloc_register_fd(X) (X)   #define dmalloc_close_fd(X) (X)   #define dmfree(X) free((X))   #define dmalloc_accept_leak(X) (void)(X)   #define DMALLOC_LINE_ARGS   #define DMALLOC_POS