pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:787:    encode_value2(ITEM(Pike_sp[-2].u.array)+i, data, 0); /* indices */    encode_value2(ITEM(Pike_sp[-1].u.array)+i, data, 0); /* values */    }    pop_n_elems(2);    /* FIXME: What about flags? */    break;       case T_MULTISET: {    struct multiset *l = val->u.multiset;    -  if (multiset_indval (l) || -  TYPEOF(*multiset_get_cmp_less(l)) != T_INT) -  Pike_error ("FIXME: Encoding of multisets with values and/or " +  if (TYPEOF(*multiset_get_cmp_less(l)) != T_INT) +  Pike_error ("FIXME: Encoding of multisets with "    "custom sort function not yet implemented.\n");    else {    /* Encode valueless multisets without compare functions in a    * compatible way. */    code_entry(TAG_MULTISET, multiset_sizeof (l), data);    if (data->canonic) {    INT32 *order;    if (multiset_ind_types(l) & ~(BIT_BASIC & ~BIT_TYPE)) {    multiset_fix_type_field(l);    if (multiset_ind_types(l) & ~(BIT_BASIC & ~BIT_TYPE))