pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
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.
263
2009/06/22 12:
06
:
11
grubba Exp $
+
|| $Id: program.h,v 1.
264
2009/06/22 12:
07
:
04
grubba Exp $
*/ #ifndef PROGRAM_H #define PROGRAM_H #include "global.h" #include "pike_macros.h" #include "pike_error.h" #include "svalue.h" #include "dmalloc.h"
pike.git/src/program.h:622:
INT16 lfuns[NUM_LFUNS]; #ifdef WITH_FACETS /* Facet related stuff */ INT16 facet_class; /* PROGRAM_IS_X_CLASS (X=FACET/PRODUCT) */ INT32 facet_index; /* Index to the facet this facet class belongs to */ struct object *facet_group; #endif };
+
void dump_program_tables (struct program *p, int indent);
#ifdef PIKE_DEBUG static INLINE int CHECK_IDREF_RANGE (int x, const struct program *p) { if (x < 0 || x >= p->num_identifier_references) { dump_program_tables(p, 4); debug_fatal ("Identifier reference index %d out of range 0..%d\n", x, p->num_identifier_references - 1); } return x; }
pike.git/src/program.h:772:
void fixate_program(void); struct program *low_allocate_program(void); void low_start_new_program(struct program *p, int pass, struct pike_string *name, int flags, int *idp); PMOD_EXPORT void debug_start_new_program(int line, const char *file); void dump_program_desc(struct program *p); int sizeof_variable(int run_time_type);
-
void dump_program_tables (struct program *p, int indent);
+
void check_program(struct program *p); struct program *end_first_pass(int finish); PMOD_EXPORT struct program *debug_end_program(void); PMOD_EXPORT size_t low_add_storage(size_t size, size_t alignment, ptrdiff_t modulo_orig); PMOD_EXPORT void set_init_callback(void (*init_callback)(struct object *)); PMOD_EXPORT void set_exit_callback(void (*exit_callback)(struct object *)); PMOD_EXPORT void set_gc_recurse_callback(void (*m)(struct object *)); PMOD_EXPORT void set_gc_check_callback(void (*m)(struct object *)); PMOD_EXPORT void pike_set_prog_event_callback(void (*cb)(int));