pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:179:
"_search", "_types", "_serialize", "_deserialize", "_size_object", "_random", "`**", "``**", "_sqrt", "_annotations",
+
"_m_clear",
}; 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:246:
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(tOr(tVoid,tObj) tOr(tVoid,tInt) tOr(tInt01,tVoid),tVoid,tArray), /* "_annotations", */
+
tFuncV(tNone, tVoid, tVoid), /* "_m_clear", */
}; /* 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:1425:
*! See protected symbols as well. *! @endint *! *! @param recursive *! Include nested annotations from the inherits. *! *! @seealso *! @[annotations()] */
+
/*! @decl void lfun::_m_clear()
+
*!
+
*! Called by @[m_clear()].
+
*!
+
*! @seeaslo
+
*! @[lfun::_m_delete()], @[lfun::_m_add()]
+
*/
+
/**** 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.