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.
35
1998/
03
/
28
15
:
36
:
22
grubba
Exp $
+
* $Id: program.h,v 1.
36
1998/
04
/
06
04
:
31
:
32
hubbe
Exp $
*/ #ifndef PROGRAM_H #define PROGRAM_H #include <stdarg.h> #include "global.h" #include "pike_types.h" #include "svalue.h" #define LFUN___INIT 0
pike.git/src/program.h:185:
INT32 id; /* used to identify program in caches */ INT32 flags; INT32 storage_needed; /* storage needed in the object struct */ struct program *next; struct program *prev; void (*init)(struct object *); void (*exit)(struct object *); void (*gc_marked)(struct object *);
+
void (*gc_check)(struct object *);
#ifdef DEBUG unsigned INT32 checksum; #endif #ifdef PROFILING unsigned INT32 num_clones; #endif /* PROFILING */ SIZE_T total_size; #define FOO(NUMTYPE,TYPE,NAME) TYPE * NAME ;
pike.git/src/program.h:248:
void start_new_program(void); void really_free_program(struct program *p); void dump_program_desc(struct program *p); void check_program(struct program *p); struct program *end_first_pass(int finish); struct program *debug_end_program(void); SIZE_T add_storage(SIZE_T size); void set_init_callback(void (*init)(struct object *)); void set_exit_callback(void (*exit)(struct object *)); void set_gc_mark_callback(void (*m)(struct object *));
+
void set_gc_check_callback(void (*m)(struct object *));
int low_reference_inherited_identifier(struct program_state *q, int e, 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, int parent_identifier, int parent_offset,
pike.git/src/program.h:304:
INT32 flags); int add_float_constant(char *name, double f, INT32 flags); int add_string_constant(char *name, char *str, INT32 flags); int add_program_constant(char *name, struct program *p, INT32 flags);
+
int add_object_constant(char *name,
+
struct object *o,
+
INT32 flags);
int add_function_constant(char *name, void (*cfun)(INT32), char * type, INT16 flags); int debug_end_class(char *name, INT32 flags); INT32 define_function(struct pike_string *name, struct pike_string *type, INT16 flags, INT8 function_flags, union idptr *func); int low_find_shared_string_identifier(struct pike_string *name, struct program *prog); struct ff_hash;