pike.git / src / operators.c

version» Context lines:

pike.git/src/operators.c:5690:    if(THIS->s)    free_string(THIS->s);   }      /*! @endclass    */      void init_operators(void)   {    ADD_EFUN ("`[..]", f_range, -  tOr3(tFunc(tStr tInt tRangeBound tInt tRangeBound, tStr), +  tOr3(tFunc(tSetvar(1,tStr) tInt tRangeBound tInt tRangeBound, tVar(1)),    tFunc(tArr(tSetvar(0,tMix)) tInt tRangeBound tInt tRangeBound, tArr(tVar(0))),    tFunc(tObj tMix tRangeBound tMix tRangeBound, tMix)),    OPT_TRY_OPTIMIZE);       ADD_INT_CONSTANT ("INDEX_FROM_BEG", INDEX_FROM_BEG, 0);    ADD_INT_CONSTANT ("INDEX_FROM_END", INDEX_FROM_END, 0);    ADD_INT_CONSTANT ("OPEN_BOUND", OPEN_BOUND, 0);       ADD_EFUN ("`[]", f_index,    tOr9(tFunc(tObj tMix tOr(tVoid,tMix), tMix),