pike.git / src / program.h

version» Context lines:

pike.git/src/program.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: program.h,v 1.258 2008/08/17 11:00:07 mast Exp $ + || $Id: program.h,v 1.259 2008/08/17 15:30:35 mast Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"
pike.git/src/program.h:663:    debug_malloc_touch(_); \    DO_IF_DEBUG ( \    DO_IF_PIKE_CLEANUP ( \    if (gc_external_refs_zapped) \    gc_check_zapped (_, PIKE_T_PROGRAM, __FILE__, __LINE__))); \    if(!sub_ref(_)) \    really_free_program(_); \    }while(0)   #endif    - /* FIXME: Maybe try to replace free_program with this in the future to -  * catch more bugs, but there's code that requires the current one. */ - /* FIXME: Cleanup all the misguided "<foo> = NULL" in exit functions. */ - #define free_program_ptr(P) do { \ -  struct program **pp_ = &(P); \ -  free_program (*pp_); \ -  MARK_INVALID_PTR (*pp_); \ -  } while (0) -  +    BLOCK_ALLOC_FILL_PAGES(program, n/a);         extern struct program *first_program;   extern struct program *null_program;   extern struct program *compilation_env_program;   extern struct program *compilation_program;   extern struct object *compilation_environment;   extern struct program *pike_trampoline_program;   extern struct program *gc_internal_program;