Branch: Tag:

2018-12-08

2018-12-08 16:04:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: m_clear() now supports multisets and objects.

Adds LFUN _m_clear().

186:    "``**",    "_sqrt",    "_annotations", +  "_m_clear",   };      struct pike_string *lfun_strings[NELEM(lfun_names)];
253:    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! */
1432:    *! @[annotations()]    */    + /*! @decl void lfun::_m_clear() +  *! +  *! Called by @[m_clear()]. +  *! +  *! @seeaslo +  *! @[lfun::_m_delete()], @[lfun::_m_add()] +  */ +    /**** END FAKE LFUNS ****/   /**** BEGIN MAGIC LFUNS ****/