Branch: Tag:

2014-06-17

2014-06-17 14:14:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

GC: Clean up some of the visit_* API.

All the visit_*() functions now have all arguments.

375: Inside #if defined(PIKE_DEBUG)
  void check_mapping(const struct mapping *m);   void check_all_mappings(void);   #endif - PMOD_EXPORT void visit_mapping (struct mapping *m, int action); + PMOD_EXPORT void visit_mapping (struct mapping *m, int action, void *extra);   void gc_mark_mapping_as_referenced(struct mapping *m);   void real_gc_cycle_check_mapping(struct mapping *m, int weak);   unsigned gc_touch_all_mappings(void);