pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:2487:       if ((md->ind_types | md->val_types) &    (action & VISIT_COMPLEX_ONLY ? BIT_COMPLEX : BIT_REF_TYPES)) {    int ind_ref_type =    md->flags & MAPPING_WEAK_INDICES ? REF_TYPE_WEAK : REF_TYPE_NORMAL;    int val_ref_type =    md->flags & MAPPING_WEAK_VALUES ? REF_TYPE_WEAK : REF_TYPE_NORMAL;    INT32 e;    struct keypair *k;    NEW_MAPPING_LOOP (md) { -  visit_svalue (&k->ind, ind_ref_type); -  visit_svalue (&k->val, val_ref_type); +  visit_svalue (&k->ind, ind_ref_type, extra); +  visit_svalue (&k->val, val_ref_type, extra);    }    }   }      PMOD_EXPORT void visit_mapping (struct mapping *m, int action, void *extra)   {    switch (action) {   #ifdef PIKE_DEBUG    default:    Pike_fatal ("Unknown visit action %d.\n", action);