Branch: Tag:

2008-06-24

2008-06-24 18:47:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added fake lfun _m_generation().

Rev: src/program.c:1.721
Rev: src/program.h:1.252

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.720 2008/06/23 16:41:02 mast Exp $ + || $Id: program.c,v 1.721 2008/06/24 18:47:13 grubba Exp $   */      #include "global.h"
159:    "`[..]",    /* NOTE: After this point there are only fake lfuns. */    "_search", +  "_m_generation",   };      struct pike_string *lfun_strings[NELEM(lfun_names)];
216:    tFuncV(tZero tRangeBound tZero tRangeBound, tVoid, tMix), /* "`[..]" */    /* NOTE: After this point there are only fake lfuns. */    tFuncV(tZero tOr(tZero, tVoid), tVoid, tMix), /* "_search", */ +  tFuncV(tNone,tVoid,tInt), /* "_m_generation", */   };      /* These two are not true LFUNs! */
1121:    *! @[predef::search()]    */    + /*! @decl int lfun::_m_generation() +  *! +  *! Generation callback. +  *! +  *! @seealso +  *! @[predef::m_generation()] +  */ +    /*! @decl mixed lfun::`symbol()    *! @decl mixed lfun::`->symbol()    *!