pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.h:1:
/*\ ||| This file a part of Pike, and is copyright by Fredrik Hubinette ||| Pike is distributed as GPL (General Public License) ||| See the files COPYING and DISCLAIMER for more information. \*/ /*
-
* $Id: program.h,v 1.
126
2001/
04
/
28
19
:
32
:
56
mast
Exp $
+
* $Id: program.h,v 1.
127
2001/
05
/
26
17
:
10
:
27
grubba
Exp $
*/ #ifndef PROGRAM_H #define PROGRAM_H #include <stdarg.h> #include "global.h" #include "pike_types.h" #include "pike_macros.h" #include "svalue.h" #include "time_stuff.h"
pike.git/src/program.h:294:
ptrdiff_t parent_info_storage; INT16 flags; /* PROGRAM_* */ unsigned INT8 alignment_needed; struct timeval timestamp; struct program *next; struct program *prev; struct program *parent;
+
struct node_s *(*optimize)(struct node_s *n);
void (*event_handler)(enum pike_program_event); #ifdef PIKE_DEBUG unsigned INT32 checksum; #endif #ifdef PROFILING unsigned INT32 num_clones; #endif /* PROFILING */ size_t total_size;
pike.git/src/program.h:379:
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)(struct object *)); PMOD_EXPORT void set_exit_callback(void (*exit)(struct object *)); PMOD_EXPORT void set_gc_recurse_callback(void (*m)(struct object *)); PMOD_EXPORT void set_gc_check_callback(void (*m)(struct object *)); void pike_set_prog_event_callback(void (*cb)(enum pike_program_event));
+
void pike_set_prog_optimize_callback(struct node_s *(*opt)(struct node_s *));
int low_reference_inherited_identifier(struct program_state *q, int e, struct pike_string *name, int flags); int find_inherit(struct program *p, struct pike_string *name); node *reference_inherited_identifier(struct pike_string *super_name, struct pike_string *function_name); void rename_last_inherit(struct pike_string *n); void low_inherit(struct program *p, struct object *parent,