pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.h:1149:
#define end_program() ((struct program *)debug_malloc_pass(debug_end_program())) #define end_class(NAME, FLAGS) (debug_malloc_touch(Pike_compiler->new_program), debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS)) #else #define end_class(NAME,FLAGS) debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS) #define end_program debug_end_program #endif #define start_new_program() debug_start_new_program(__LINE__,__FILE__)
-
#define visit_program_ref(P, REF_TYPE)
\
+
#define visit_program_ref(P, REF_TYPE
, EXTRA
) \
visit_ref (pass_program (P), (REF_TYPE), \
-
(visit_thing_fn *) &visit_program,
NULL
)
+
(visit_thing_fn *) &visit_program,
(EXTRA
)
)
#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