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.58 2006/02/25 07:13:59 mast Exp $ + || $Id: dmalloc.h,v 1.59 2006/07/05 02:17:09 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:27:   #define DMALLOC_TRACELOGSIZE 131072      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 */      #ifdef PIKE_DEBUG - extern int gc_external_refs_zapped; - void gc_check_zapped (void *a, TYPE_T type, const char *file, int line); + PMOD_EXPORT extern int gc_external_refs_zapped; + PMOD_EXPORT void gc_check_zapped (void *a, TYPE_T type, const char *file, int line);   #endif      #ifdef DO_PIKE_CLEANUP   extern int exit_with_cleanup;   extern int exit_cleanup_in_progress;   #define DO_IF_PIKE_CLEANUP(X) X   #else   #define DO_IF_PIKE_CLEANUP(X)   #endif