pike.git / src / constants.h

version» Context lines:

pike.git/src/constants.h:3:   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information.   */      #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);   typedef node *(*optimize_fun)(node *n);      #define CALLABLE_DYNAMIC 1      struct callable   {    PIKE_MEMORY_OBJECT_MEMBERS;    c_fun function;
pike.git/src/constants.h:41: Inside #if defined(PIKE_DEBUG)
   * 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);   void add_pike_string_constant(const char *name, const char *str, int len);   PMOD_EXPORT void add_global_program(const char *name, struct program *p); - BLOCK_ALLOC_FILL_PAGES(callable,2); + void really_free_callable(struct callable * c); + void count_memory_in_callables(size_t * num, size_t * size); + void free_all_callable_blocks();   PMOD_EXPORT struct callable *low_make_callable(c_fun fun,    struct pike_string *name,    struct pike_type *type,    int flags,    optimize_fun optimize,    docode_fun docode);   PMOD_EXPORT struct callable *make_callable(c_fun fun,    const char *name,    const char *type,    int flags,