pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:244:    /* NOTE: After this point there are only fake lfuns. */    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(tNone, 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", */ -  tFuncV(tNone,tVoid,tArray), /* "_annotations", */ +  tFuncV(tOr(tVoid,tObj) tOr(tVoid,tInt) +  tOr(tInt01,tVoid),tVoid,tArray), /* "_annotations", */   };      /* These two are not true LFUNs! */   static struct pike_type *lfun_getter_type_string = NULL;   static struct pike_type *lfun_setter_type_string = NULL;      /*! @namespace lfun::    *!    *! Callback functions used to overload various builtin functions.    *!
pike.git/src/program.c:1376:    *! A @[RandomInterface()->random_string] function that returns    *! a string(8bit) of the specified length.    *!    *! @param random    *! A @[RandomInterface()->random] function.    *!    *! @seealso    *! @[predef::random()], @[RandomInterface]    */    + /*! @decl object|int|float lfun::`**(int|float|object exp) +  *! Called by @[predef::`**()]. +  *! +  *! @seealso +  *! @[predef::`**()], @[lfun::``**()] +  */ +  + /*! @decl object|int|float lfun::``**(int|float|object base) +  *! Called by @[predef::`**()]. +  *! +  *! @seealso +  *! @[predef::`**()], @[lfun::`**()] +  */ +  + /*! @decl mixed lfun::_sqrt() +  *! Called by @[sqrt()]. +  *! +  *! @seealso +  *! @[sqrt()] +  */ +  + /*! @decl array lfun::_annotations(object|void context, int|void access, @ +  *! int(0..1)|void recursive) +  *! Called by @[annotations()] +  *! +  *! @param context +  *! Inherit in the current object to return the annotations for. +  *! If @expr{UNDEFINED@} or left out, @expr{this_program::this@} +  *! should be used (ie start at the current context and ignore +  *! any overloaded symbols). +  *! +  *! @param access +  *! Access permission override. One of the following: +  *! @int +  *! @value 0 +  *! @value UNDEFINED +  *! See only public symbols. +  *! @value 1 +  *! See protected symbols as well. +  *! @endint +  *! +  *! @param recursive +  *! Include nested annotations from the inherits. +  *! +  *! @seealso +  *! @[annotations()] +  */ +    /**** END FAKE LFUNS ****/   /**** BEGIN MAGIC LFUNS ****/      /*! @decl mixed lfun::`symbol()    *! @decl mixed lfun::`->symbol()    *!    *! Variable retrieval callback (aka "getter").    *!    *! @note    *! Note that the @expr{symbol@} in the name can be any symbol.