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.49 2004/04/03 18:24:24 mast Exp $ + || $Id: dmalloc.h,v 1.50 2004/04/18 02:16:05 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:28:      extern char *dmalloc_tracelog[DMALLOC_TRACELOGSIZE];   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   #else   # define DO_IF_PIKE_CLEANUP(X)   #endif      typedef void describe_block_fn (void *);