pike.git / src / builtin_functions.h

version» Context lines:

pike.git/src/builtin_functions.h:3:   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information.   */      #ifndef BUILTIN_EFUNS_H   #define BUILTIN_EFUNS_H      #define TYPEP(ID,NAME,TYPE) PMOD_EXPORT void ID(INT32 args);      #include "callback.h" - #include "block_alloc_h.h" +       /* Weak flags for arrays, multisets and mappings. 1 is avoided for    * compatibility reasons. */   #define PIKE_WEAK_INDICES 2   #define PIKE_WEAK_VALUES 4   #define PIKE_WEAK_BOTH 6      /* Prototypes begin here */   PMOD_EXPORT void debug_f_aggregate(INT32 args);   #ifdef DEBUG_MALLOC
pike.git/src/builtin_functions.h:200:   PMOD_EXPORT void f_backtrace(INT32 args);      struct pike_list_node   {    /* NOTE: Unusual order of elements due to use of sentinels. */    struct pike_list_node *next;    INT32 refs;    struct pike_list_node *prev;    struct svalue val;   }; - BLOCK_ALLOC_FILL_PAGES(pike_list_node, 4); + void count_memory_in_pike_list_nodes(size_t * n, size_t * s); + void free_all_pike_list_node_blocks();   PMOD_EXPORT void free_list_node(struct pike_list_node *node);   PMOD_EXPORT void unlink_list_node(struct pike_list_node *n);   PMOD_EXPORT void prepend_list_node(struct pike_list_node *node,    struct pike_list_node *new_node);   PMOD_EXPORT void append_list_node(struct pike_list_node *node,    struct pike_list_node *new_node);   PMOD_EXPORT struct object *get_setter(struct object *o, int f);   void init_builtin(void);   void exit_builtin(void);      /* From modules/files */   void f_werror (INT32 args);      /* Prototypes end here */      #endif