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.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"   #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:9009:    }       pop_n_elems(args);    push_int(0);      }      /*! @endmodule Function    */    + /* FIXME: Document catch and gauge. */ +    void init_builtin_efuns(void)   {    struct program *pike___master_program;       ADD_EFUN("gethrvtime",f_gethrvtime,    tFunc(tOr(tInt,tVoid),tInt), OPT_EXTERNAL_DEPEND);    ADD_EFUN("gethrtime", f_gethrtime,    tFunc(tOr(tInt,tVoid),tInt), OPT_EXTERNAL_DEPEND);      #ifdef PROFILING
pike.git/src/builtin_functions.c:9698: Inside #if defined(PIKE_DEBUG)
   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(tOr(tIntPos,tMap(tString,tInt)), +  tFuncV(tOr(tInt,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