pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:1:   /*   || 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.661 2008/05/11 02:02:50 mast Exp $ + || $Id: builtin_functions.c,v 1.662 2008/05/11 02:39:07 mast Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin_functions.c:9582: Inside #if defined(PIKE_DEBUG)
   tFunc(tComplex,tVoid), OPT_SIDE_EFFECT);    ADD_EFUN("_dump_backlog", f__dump_backlog,    tFunc(tNone,tVoid), OPT_SIDE_EFFECT);    ADD_EFUN("_gdb_breakpoint", pike_gdb_breakpoint,    tFuncV(tNone,tMix,tVoid), OPT_SIDE_EFFECT);   #endif       ADD_EFUN("_gc_status",f__gc_status,    tFunc(tNone,tMap(tString,tOr(tInt,tFloat))),    OPT_EXTERNAL_DEPEND); -  ADD_FUNCTION ("count_memory", f_count_memory, tFuncV(tZero,tMix,tInt), 0); +  ADD_FUNCTION ("count_memory", f_count_memory, +  tFuncV(tOr(tIntPos,tMap(tString,tInt)), +  tOr8(tArray,tMultiset,tMapping,tObj,tPrg(tObj), +  tString,tType(tMix),tInt), +  tInt), 0);       ADD_INT_CONSTANT ("NATIVE_INT_MAX", MAX_INT_TYPE, 0);    ADD_INT_CONSTANT ("NATIVE_INT_MIN", MIN_INT_TYPE, 0);       /* Maybe make PIKEFLOAT_MANT_DIG, PIKEFLOAT_MIN_EXP and    * PIKEFLOAT_MAX_EXP available, but do we have to export FLT_RADIX    * too? It'd be nice to always assume it's 2 to save the pike    * programmer from that headache. */    ADD_INT_CONSTANT ("FLOAT_DIGITS_10", PIKEFLOAT_DIG, 0);    ADD_INT_CONSTANT ("FLOAT_MIN_10_EXP", PIKEFLOAT_MIN_10_EXP, 0);