pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:270:    tFuncV(tNone,tZero,tMix), /* "``/", */    tFuncV(tNone,tZero,tMix), /* "``%", */    tFuncV(tZero,tZero,tMix), /* "`+=", */    tFuncV(tStr,tVoid,tInt), /* "_is_type", */    tFuncV(tInt tOr(tMap(tStr,tInt),tVoid),tVoid,tStr), /* "_sprintf", */    tFuncV(tMix,tVoid,tInt), /* "_equal", */    tFuncV(tZero,tVoid,tMix), /* "_m_delete", */    tFuncV(tNone,tVoid,tObj), /* "_get_iterator", */    tFuncV(tZero tRangeBound tZero tRangeBound, tVoid, tMix), /* "`[..]" */    /* NOTE: After this point there are only fake lfuns. */ -  tFuncV(tZero tOr(tZero, tVoid), tVoid, tMix), /* "_search", */ +  tFuncV(tZero tOr(tZero, tVoid), tZero, tMix), /* "_search", */    tFuncV(tNone,tVoid,tArray), /* "_types", */    tFuncV(tObj tZero, tVoid, tVoid), /* "_serialize", */    tFuncV(tObj tZero, tVoid, tVoid), /* "_deserialize", */    tFuncV(tZero, tVoid, tInt), /* "_size_object", */    tFuncV(tFunction tFunction, tVoid, tMix), /* "_random", */    tFuncV(tOr3(tInt,tFloat,tObj),tVoid,tOr3(tObj,tInt,tFloat)), /* "pow", */    tFuncV(tOr3(tInt,tFloat,tObj),tVoid,tOr3(tObj,tInt,tFloat)), /* "rpow", */    tFunc(tVoid,tMix),/* "_sqrt* */   };   
pike.git/src/program.c:1252:    *! @note    *! It's assumed that this function is side-effect free.    *!    *! @seealso    *! @[predef::`[..]]    */      /**** END TRUE LFUNS ****/   /**** BEGIN FAKE LFUNS ****/    - /*! @decl mixed lfun::_search(mixed needle, mixed|void start) + /*! @decl mixed lfun::_search(mixed needle, mixed|void start, +  *! mixed ... extra_args)    *!    *! Search callback.    *! -  +  *! The arguments are sent straight from @[search()], and are +  *! as follows: +  *! +  *! @param needle +  *! Value to search for. +  *! +  *! @param start +  *! The first position to search. +  *! +  *! @param extra_args +  *! Optional extra arguments as passed to @[search()]. +  *!    *! @seealso    *! @[predef::search()]    */      /*! @decl array lfun::_types(object|void context, int|void access)    *!    *! List types callback.    *!    *! This callback is typically called via @[predef::types()].    *!