pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.h:104:
struct inherit *inherits; struct reference *identifier_references; struct identifier *identifiers; unsigned INT16 *identifier_index; struct svalue *constants; char *linenumbers; struct module *from_module; void (*init)(char *,struct object *); void (*exit)(char *,struct object *); #ifdef DEBUG
-
void (*checkrefs)(char *,struct object *,int pass);
+
unsigned INT32 checksum; #endif SIZE_T total_size; SIZE_T num_linenumbers; SIZE_T program_size; unsigned INT16 num_constants; unsigned INT16 num_strings; unsigned INT16 num_identifiers; unsigned INT16 num_identifier_references;
pike.git/src/program.h:138:
extern struct object fake_object; extern struct program fake_program; /* Prototypes begin here */ struct id_hash_entry; void setup_fake_program(); void start_new_program(); void really_free_program(struct program *p); void dump_program_desc(struct program *p); void toss_current_program();
-
void check_program(struct program *p
, int pass
);
+
void check_program(struct program *p);
struct program *end_program(); SIZE_T add_storage(SIZE_T size); void set_init_callback(void (*init)(char *,struct object *)); void set_exit_callback(void (*exit)(char *,struct object *)); int low_reference_inherited_identifier(int e,struct lpc_string *name); int reference_inherited_identifier(struct lpc_string *super_name, struct lpc_string *function_name); void rename_last_inherit(struct lpc_string *n); void do_inherit(struct program *p,INT32 flags, struct lpc_string *name); void simple_do_inherit(struct lpc_string *s, INT32 flags,struct lpc_string *name);
pike.git/src/program.h:174:
void start_line_numbering(void); void store_linenumber(void); char *get_line(unsigned char *pc,struct program *prog,INT32 *linep); void my_yyerror(char *fmt,...); void compile(); struct program *compile_file(struct lpc_string *file_name); struct program *compile_string(struct lpc_string *prog, struct lpc_string *name); struct program *end_c_program(char *name); void add_function(char *name,void (*cfun)(INT32),char *type,INT16 flags);
-
void check_all_programs(
int pass
);
+
void check_all_programs();
void cleanup_program();
-
+
void gc_check_program(struct program *p);
+
void gc_check_all_programs();
+
void gc_clear_program_marks();
/* Prototypes end here */ void my_yyerror(char *fmt,...) ATTRIBUTE((format (printf, 1, 2))); #endif