pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:181:
"_serialize", "_deserialize", "_size_object", "_random", "`**", "``**", "_sqrt", "_annotations", "_m_clear", "_m_add",
+
"_reverse",
}; struct pike_string *lfun_strings[NELEM(lfun_names)]; static struct mapping *lfun_ids; /* mapping(string:type) */ static struct mapping *lfun_types; static const char *const raw_lfun_types[] = {
pike.git/src/program.c:250:
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(tOr(tVoid,tObj) tOr(tVoid,tInt) tOr(tInt01,tVoid),tVoid,tArray), /* "_annotations", */ tFuncV(tNone, tVoid, tVoid), /* "_m_clear", */ tFuncV(tZero, tVoid, tVoid), /* "_m_add", */
+
tFuncV(tNone, tOr(tZero, tVoid), tVoid), /* "_reverse", */
}; /* 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:1449:
*/ /*! @decl void lfun::_m_add() *! *! Called by @[m_add()]. *! *! @seealso *! @[lfun::_m_delete()], @[lfun::_m_clear()] */
+
/*! @decl mixed lfun::_reverse(mixed ... options)
+
*!
+
*! Called by @[reverse()].
+
*/
+
/**** 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.