pike.git / src / main.c

version» Context lines:

pike.git/src/main.c: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: main.c,v 1.207 2004/09/18 20:50:52 nilsson Exp $ + || $Id: main.c,v 1.208 2004/09/22 13:40:27 mast Exp $   */      #include "global.h"   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"
pike.git/src/main.c:1016: Inside #if defined(DO_PIKE_CLEANUP) and #if defined(PIKE_DEBUG)
   search_all_memheaders_for_references();   #endif       /* The use of markers below only works after a gc run where it    * hasn't freed anything. Since we've destructed all objects in    * exit_main, nothing should be left after the run above, so only    * one more run is necessary. */    gc_keep_markers = 1;    do_gc (NULL, 1);    - #define STATIC_ARRAYS {&empty_array, &weak_empty_array, &weak_shrink_empty_array} + #define STATIC_ARRAYS {&empty_array, &weak_empty_array}      #define REPORT_LINKED_LIST_LEAKS(TYPE, START, STATICS, T_TYPE, NAME) do { \    size_t num = 0; \    struct TYPE *x; \    for (x = START; x; x = x->next) { \    struct marker *m = find_marker (x); \    if (!m) { \    DO_IF_DEBUG ( \    fprintf (stderr, "Didn't find gc marker as expected for:\n"); \    describe_something (x, T_TYPE, 2, 2, 0, NULL); \