pike.git / src / constants.h

version» Context lines:

pike.git/src/constants.h: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.h,v 1.31 2003/05/31 01:14:27 mast Exp $ + || $Id: constants.h,v 1.32 2003/08/20 16:31:44 mast Exp $   */      #ifndef ADD_EFUN_H   #define ADD_EFUN_H      #include "svalue.h"   #include "hashtable.h"   #include "las.h" /* For OPT_SIDE_EFFECT etc. */   #include "block_alloc_h.h"   
pike.git/src/constants.h:24:    c_fun function;    struct pike_type *type;    struct pike_string *name;    struct program *prog;    INT16 flags; /* OPT_* */    INT16 internal_flags;   #ifdef PIKE_DEBUG    INT8 may_return_void;    long compiles;    long runs; +  struct callable *prev;   #endif    optimize_fun optimize;    docode_fun docode;    struct callable *next;   };    -  + #ifdef PIKE_DEBUG + /* We have a double-linked list in debug mode for identification +  * purposes. */ + extern struct callable *first_callable; + #endif +    /* Prototypes begin here */   PMOD_EXPORT struct mapping *get_builtin_constants(void);   void low_add_efun(struct pike_string *name, struct svalue *fun);   void low_add_constant(const char *name, struct svalue *fun);   PMOD_EXPORT void add_global_program(const char *name, struct program *p);   BLOCK_ALLOC_FILL_PAGES(callable,2)   PMOD_EXPORT struct callable *low_make_callable(c_fun fun,    struct pike_string *name,    struct pike_type *type,    int flags,