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.

1029:   void placeholder_index(INT32 args);   void init_program(void);   void cleanup_program(void); - PMOD_EXPORT void visit_program (struct program *p, int action); + PMOD_EXPORT void visit_program (struct program *p, int action, void *extra);   void gc_mark_program_as_referenced(struct program *p);   void real_gc_cycle_check_program(struct program *p, int weak);   unsigned gc_touch_all_programs(void);