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.210 2004/09/27 21:37:23 mast Exp $
+ || $Id: program.h,v 1.211 2004/09/28 23:58:26 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:568: Inside #if defined(DO_PIKE_CLEANUP)
#ifdef DO_PIKE_CLEANUP
extern int gc_external_refs_zapped;
void gc_check_zapped (void *a, TYPE_T type, const char *file, int line);
#endif
#define free_program(p) do{ \
struct program *_=(p); \
debug_malloc_touch(_); \
DO_IF_DEBUG ( \
+ DO_IF_PIKE_CLEANUP ( \
if (gc_external_refs_zapped) \
- gc_check_zapped (_, PIKE_T_PROGRAM, __FILE__, __LINE__); \
- ); \
+ gc_check_zapped (_, PIKE_T_PROGRAM, __FILE__, __LINE__))); \
if(!sub_ref(_)) \
really_free_program(_); \
}while(0)
BLOCK_ALLOC_FILL_PAGES(program, n/a)
extern struct object *error_handler;
extern struct object *compat_handler;