Branch: Tag:

2008-10-12

2008-10-12 21:51:12 by Martin Stjernholm <mast@lysator.liu.se>

Updated the type for Pike.count_memory. Added a documentation FIXME.

Rev: src/builtin_functions.c:1.688

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: builtin_functions.c,v 1.687 2008/09/26 21:29:02 nilsson Exp $ + || $Id: builtin_functions.c,v 1.688 2008/10/12 21:51:12 mast Exp $   */      #include "global.h"
9016:   /*! @endmodule Function    */    + /* FIXME: Document catch and gauge. */ +    void init_builtin_efuns(void)   {    struct program *pike___master_program;
9705:    tFunc(tNone,tMap(tString,tOr(tInt,tFloat))),    OPT_EXTERNAL_DEPEND);    ADD_FUNCTION ("count_memory", f_count_memory, -  tFuncV(tOr(tIntPos,tMap(tString,tInt)), +  tFuncV(tOr(tInt,tMap(tString,tInt)),    tOr8(tArray,tMultiset,tMapping,tObj,tPrg(tObj),    tString,tType(tMix),tInt),    tInt), 0);