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.171 2003/01/15 19:11:38 mast Exp $
+ || $Id: program.h,v 1.172 2003/02/04 17:32:20 mast Exp $
*/
#ifndef PROGRAM_H
#define PROGRAM_H
#include <stdarg.h>
#include "global.h"
#include "pike_types.h"
#include "pike_macros.h"
#include "svalue.h"
pike.git/src/program.h:714: Inside #if defined(DEBUG_MALLOC)
#ifdef DEBUG_MALLOC
#define end_program() ((struct program *)debug_malloc_pass(debug_end_program()))
#define end_class(NAME, FLAGS) (debug_malloc_touch(Pike_compiler->new_program), debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS))
#else
#define end_class(NAME,FLAGS) debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS)
#define end_program debug_end_program
#endif
- #ifdef PIKE_DEBUG
+
#define start_new_program() debug_start_new_program(__LINE__,__FILE__)
- #else
- #define start_new_program() debug_start_new_program(0, "native module")
- #endif
+
#define gc_cycle_check_program(X, WEAK) \
gc_cycle_enqueue((gc_cycle_check_cb *) real_gc_cycle_check_program, (X), (WEAK))
/* This can be used for backwards compatibility
* (if added to program.h in Pike 0.6 and Pike 7.0
* -Hubbe
*/
#define Pike_new_program Pike_compiler->new_program