pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:180:    "_types",    "_serialize",    "_deserialize",    "_size_object",    "_random",    "`**",    "``**",    "_sqrt",    "_annotations",    "_m_clear", +  "_m_add",   };      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:248:    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", */ +  tFuncV(tZero, tVoid, tVoid), /* "_m_add", */   };      /* 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:1435:    */      /*! @decl void lfun::_m_clear()    *!    *! Called by @[m_clear()].    *!    *! @seeaslo    *! @[lfun::_m_delete()], @[lfun::_m_add()]    */    + /*! @decl void lfun::_m_add()] +  *! +  *! Called by @[m_add()]. +  *! +  *! @seealso +  *! @[lfun::_m_delete()], @[lfun::_m_clear()] +  */ +    /**** 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.