pike.git / src / dmalloc.h

version» Context lines:

pike.git/src/dmalloc.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: dmalloc.h,v 1.51 2004/09/02 11:17:16 grubba Exp $ + || $Id: dmalloc.h,v 1.52 2004/09/26 22:21:17 mast Exp $   */      #ifndef DMALLOC_H   #define DMALLOC_H      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);
pike.git/src/dmalloc.h:30:   extern size_t dmalloc_tracelogptr;      #define DMALLOC_TRACE_LOG(X) (dmalloc_tracelog[ dmalloc_tracelogptr = (dmalloc_tracelogptr +1 )%DMALLOC_TRACELOGSIZE ] = (X))      #endif /* DMALLOC_TRACE */      #if defined (PIKE_DEBUG) && defined (DO_PIKE_CLEANUP)   extern int verbose_debug_exit;   extern int gc_external_refs_zapped;   void gc_check_zapped (void *a, TYPE_T type, const char *file, int line); - #endif -  - #ifdef DO_PIKE_CLEANUP - # define DO_IF_PIKE_CLEANUP(X) X + #define DO_IF_PIKE_CLEANUP(X) X   #else - # define DO_IF_PIKE_CLEANUP(X) + #define DO_IF_PIKE_CLEANUP(X)   #endif      typedef void describe_block_fn (void *);      #ifdef DEBUG_MALLOC   struct memhdr;      void dump_memhdr_locations(struct memhdr *from,    struct memhdr *notfrom,    int indent);