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.43 2002/10/27 16:31:46 nilsson Exp $ + || $Id: constants.c,v 1.44 2002/11/24 22:47:06 mast 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.43 2002/10/27 16:31:46 nilsson Exp $"); + RCSID("$Id: constants.c,v 1.44 2002/11/24 22:47:06 mast 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:60:    low_add_constant(name, &s);   }      #undef EXIT_BLOCK   #define EXIT_BLOCK(X) do { \    free_type(X->type); \    free_string(X->name); \    X->name=0; \    EXIT_PIKE_MEMOBJ(X); \   }while(0) - BLOCK_ALLOC(callable,128) + BLOCK_ALLOC_FILL_PAGES(callable,2)      int global_callable_flags=0;      /* Eats one ref to 'type' and 'name' */   PMOD_EXPORT struct callable *low_make_callable(c_fun fun,    struct pike_string *name,    struct pike_type *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode)