Branch: Tag:

2014-06-17

2014-06-17 15:08:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Propagate the extra parameter everywhere.

All the visit_*() functions and macros should now propagate the
argument extra.

316:    struct svalue *handler);   /* Prototypes end here */    - #define visit_type_ref(T, REF_TYPE) \ + #define visit_type_ref(T, REF_TYPE, EXTRA) \    visit_ref (pass_type (T), (REF_TYPE), \ -  (visit_thing_fn *) &visit_type, NULL) +  (visit_thing_fn *) &visit_type, (EXTRA))      #ifdef DEBUG_MALLOC   #define pop_type() ((struct pike_type *)debug_malloc_pass(debug_pop_type()))