pike.git / src / constants.h

version» Context lines:

pike.git/src/constants.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: constants.h,v 1.14 2000/08/10 14:46:16 grubba Exp $ +  * $Id: constants.h,v 1.15 2000/12/13 21:23:35 hubbe 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:30: Inside #if defined(PIKE_DEBUG)
   INT16 flags;   #ifdef PIKE_DEBUG    INT8 may_return_void;   #endif    optimize_fun optimize;    docode_fun docode;    struct callable *next;   };      /* Prototypes begin here */ - struct mapping *get_builtin_constants(void); + PMOD_EXPORT struct mapping *get_builtin_constants(void);   void low_add_efun(struct pike_string *name, struct svalue *fun);   void low_add_constant(char *name, struct svalue *fun); - void add_global_program(char *name, struct program *p); + PMOD_EXPORT void add_global_program(char *name, struct program *p);   BLOCK_ALLOC(callable,128) - struct callable *low_make_callable(c_fun fun, + PMOD_EXPORT struct callable *low_make_callable(c_fun fun,    struct pike_string *name,    struct pike_string *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode); - struct callable *make_callable(c_fun fun, + PMOD_EXPORT struct callable *make_callable(c_fun fun,    char *name,    char *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode); - struct callable *add_efun2(char *name, + PMOD_EXPORT struct callable *add_efun2(char *name,    c_fun fun,    char *type,    INT16 flags,    optimize_fun optimize,    docode_fun docode); - struct callable *add_efun(char *name, c_fun fun, char *type, INT16 flags); - struct callable *quick_add_efun(char *name, ptrdiff_t name_length, + 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 cleanup_added_efuns(void);   /* Prototypes end here */         #include "pike_macros.h"