pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:2073:    if (a->data == b->data) return 1;       /* If either is weak, they're different. */    if ((a->data->flags | b->data->flags) & MAPPING_WEAK) return 0;       check_mapping_for_destruct(a);    check_mapping_for_destruct(b);       if(m_sizeof(a) != m_sizeof(b)) return 0;    +  if (m_sizeof(a) == 0) return 1; +     if (!check_type_overlaps(a->data->ind_types, b->data->ind_types) ||    !check_type_overlaps(a->data->val_types, b->data->val_types)) return 0;       curr.pointer_a = a;    curr.pointer_b = b;    curr.next = p;       for( ;p ;p=p->next)    if(p->pointer_a == (void *)a && p->pointer_b == (void *)b)    return 1;