pike.git / src / program.h

version» Context lines:

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.95 2000/07/12 16:09:36 grubba Exp $ +  * $Id: program.h,v 1.96 2000/07/18 05:48:20 mast 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:464:    int type_length,    INT16 flags,    int opt_flags);   void check_all_programs(void);   void init_program(void);   void cleanup_program(void);   void gc_mark_program_as_referenced(struct program *p);   unsigned gc_touch_all_programs(void);   void gc_check_all_programs(void);   void gc_mark_all_programs(void); - void real_gc_cycle_check_program(struct program *p); - void real_gc_cycle_check_program_weak(struct program *p); + void real_gc_cycle_check_program(struct program *p, int weak);   void gc_cycle_check_all_programs(void); -  + void gc_zap_ext_weak_refs_in_programs(void);   void gc_free_all_unreferenced_programs(void);   void count_memory_in_programs(INT32 *num_, INT32 *size_);   void push_compiler_frame(int lexical_scope);   void pop_local_variables(int level);   void pop_compiler_frame(void);   int low_get_storage(struct program *o, struct program *p);   char *get_storage(struct object *o, struct program *p);   struct program *low_program_from_function(struct program *p,    INT32 i);   struct program *program_from_function(struct svalue *f);
pike.git/src/program.h:535:   #define end_program debug_end_program   #endif         #ifdef PIKE_DEBUG   #define start_new_program() debug_start_new_program(__LINE__,__FILE__)   #else   #define start_new_program() debug_start_new_program()   #endif    - #define gc_cycle_check_program(X) \ -  enqueue_lifo(&gc_mark_queue, (queue_call) real_gc_cycle_check_program, (X)) - #define gc_cycle_check_program_weak(X) \ -  enqueue_lifo(&gc_mark_queue, (queue_call) real_gc_cycle_check_program_weak, (X)) + #define gc_cycle_check_program(X, WEAK) \ +  gc_cycle_enqueue((gc_cycle_check_cb *) real_gc_cycle_check_program, (X), (WEAK))      /* This can be used for backwards compatibility    * (if added to program.h in Pike 0.6 and Pike 7.0    * -Hubbe    */   #define Pike_new_program Pike_compiler->new_program         #endif /* PROGRAM_H */