pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:192:    map_delete_no_free(m, val, &s);    pop_n_elems(args);    *sp=s;    sp++;   }      PIKEFUN int get_weak_flag(mixed m)    efun;    optflags OPT_EXTERNAL_DEPEND;   { -  int flag; +  int flag = 0;    switch (m->type) {    case T_ARRAY:    flag = !!(m->u.array->flags & ARRAY_WEAK_FLAG);    break;    case T_MAPPING:    flag = !!(mapping_get_flags(m->u.mapping) & MAPPING_FLAG_WEAK);    break;    case T_MULTISET:    flag = !!(m->u.multiset->ind->flags & (ARRAY_WEAK_FLAG|ARRAY_WEAK_SHRINK));    break;