Branch: Tag:

2008-03-29

2008-03-29 16:20:19 by Martin Stjernholm <mast@lysator.liu.se>

Fixed proper use of the gc to detect pike type leaks. Some other minor
fiddling with the leak reports.

Rev: src/gc.c:1.302
Rev: src/global.h:1.111
Rev: src/module.c:1.50
Rev: src/pike_types.c:1.318
Rev: src/pike_types.h:1.111
Rev: src/program.c:1.656
Rev: src/svalue.c:1.238

2:   || 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: global.h,v 1.110 2007/06/18 09:21:24 mast Exp $ + || $Id: global.h,v 1.111 2008/03/29 16:20:16 mast Exp $   */      #ifndef GLOBAL_H
435:   #define NDEBUG   #endif    + #if defined (PIKE_DEBUG) || defined (DO_PIKE_CLEANUP) + #define DO_IF_DEBUG_OR_CLEANUP(X) X + #else + #define DO_IF_DEBUG_OR_CLEANUP(X) + #endif +    #ifdef INTERNAL_PROFILING   #define DO_IF_INTERNAL_PROFILING(X) X   #else