Branch: Tag:

2018-01-17

2018-01-17 23:30:16 by Tobias S. Josefowitz <tobij@tobij.de>

arrays: PMOD_EXPORT some parts of the gc infra

gc_mark_array_as_referenced and real_gc_cycle_check_array are now
externally reachable for the benefit of external modules.

2795:    } GC_LEAVE;   }    - void gc_mark_array_as_referenced(struct array *a) + PMOD_EXPORT void gc_mark_array_as_referenced(struct array *a)   {    if(gc_mark(a, T_ARRAY))    GC_ENTER (a, T_ARRAY) {
2840:    } GC_LEAVE;   }    - void real_gc_cycle_check_array(struct array *a, int weak) + PMOD_EXPORT void real_gc_cycle_check_array(struct array *a, int weak)   {    GC_CYCLE_ENTER(a, T_ARRAY, weak) {   #ifdef PIKE_DEBUG