pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:309:    * or similar    */    if( map->type == T_MAPPING )    {    struct svalue s;    map_delete_no_free(map->u.mapping, index, &s);    pop_n_elems(args);    *sp=s;    sp++;    } -  else if (map->type == T_OBJECT) +  else if (map->type == T_OBJECT && map->u.object->prog)    {    int id = FIND_LFUN(map->u.object->prog, LFUN__M_DELETE);       if( id == -1 )    SIMPLE_BAD_ARG_ERROR("m_delete", 1, "object with _m_delete");       apply_low( map->u.object, id, 1 );    stack_swap();    pop_stack();    } else {