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 as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: constants.h,v 1.20 2002/01/16 02:54:09 nilsson Exp $ +  * $Id: constants.h,v 1.21 2002/01/27 18:25:43 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"      typedef int (*docode_fun)(node *n);
pike.git/src/constants.h:62:    INT16 flags,    optimize_fun optimize,    docode_fun docode);   PMOD_EXPORT struct callable *add_efun(char *name, c_fun fun, char *type, INT16 flags);   PMOD_EXPORT struct callable *quick_add_efun(char *name, ptrdiff_t name_length,    c_fun fun,    char *type, ptrdiff_t type_length,    INT16 flags,    optimize_fun optimize,    docode_fun docode); + void init_builtin_constants(void);   void cleanup_added_efuns(void);   /* Prototypes end here */         #include "pike_macros.h"      #define ADD_EFUN(NAME,FUN,TYPE,FLAGS) \    quick_add_efun(NAME,CONSTANT_STRLEN(NAME),FUN,TYPE,CONSTANT_STRLEN(TYPE),FLAGS,0,0)      #define ADD_EFUN2(NAME,FUN,TYPE,FLAGS,OPTIMIZE,DOCODE) \