pike.git / src / constants.c

version» Context lines:

pike.git/src/constants.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: constants.c,v 1.42 2002/10/11 01:39:30 nilsson Exp $ + || $Id: constants.c,v 1.43 2002/10/27 16:31:46 nilsson Exp $   */      #include "global.h"   #include "constants.h"   #include "pike_macros.h"   #include "program.h"   #include "pike_types.h"   #include "stralloc.h"   #include "pike_memory.h"   #include "interpret.h"   #include "mapping.h"   #include "pike_error.h"   #include "security.h"   #include "block_alloc.h"    - RCSID("$Id: constants.c,v 1.42 2002/10/11 01:39:30 nilsson Exp $"); + RCSID("$Id: constants.c,v 1.43 2002/10/27 16:31:46 nilsson Exp $");      struct mapping *builtin_constants = 0;      PMOD_EXPORT struct mapping *get_builtin_constants(void)   {    return builtin_constants;   }      void low_add_efun(struct pike_string *name, struct svalue *fun)   {
pike.git/src/constants.c:178: Inside #if defined(PIKE_DEBUG)
   {    fprintf(stderr,"%010ld @E@: %s\n",b->x[e].runs, b->x[e].name->str);    }    }    }   }   #endif      void init_builtin_constants(void)   { -  builtin_constants = allocate_mapping(20); +  builtin_constants = allocate_mapping(252);   }      void cleanup_added_efuns(void)   {   #ifdef DO_PIKE_CLEANUP    if(builtin_constants)    {    free_mapping(builtin_constants);    builtin_constants=0;    }   #endif   }