pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:86:   {    struct program *prog;    INT16 inherit_level; /* really needed? */    INT16 identifier_level;    INT32 storage_offset;   };      struct program   {    INT32 refs; -  INT32 flags; +     INT32 id; /* used to identify program in caches */    INT32 storage_needed; /* storage needed in the object struct */       struct program *next;    struct program *prev;    unsigned char *program;    struct lpc_string **strings;    struct inherit *inherits;    struct reference *identifier_references;    struct identifier *identifiers;
pike.git/src/program.h:175:   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();   void cleanup_program(); - void gc_check_program(struct program *p); + void gc_mark_program_as_referenced(struct program *p);   void gc_check_all_programs(); - void gc_clear_program_marks(); + void gc_mark_all_programs(); + void gc_free_all_unreferenced_programs();   /* Prototypes end here */         void my_yyerror(char *fmt,...) ATTRIBUTE((format (printf, 1, 2)));      #endif