pike.git / src / block_alloc_h.h

version» Context lines:

pike.git/src/block_alloc_h.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: block_alloc_h.h,v 1.25 2008/05/01 21:44:32 mast Exp $ + || $Id: block_alloc_h.h,v 1.26 2008/08/27 20:49:48 grubba Exp $   */      #undef BLOCK_ALLOC   #undef PTR_HASH_ALLOC   #undef PTR_HASH_ALLOC_FIXED   #undef BLOCK_ALLOC_FILL_PAGES   #undef PTR_HASH_ALLOC_FILL_PAGES   #undef PTR_HASH_ALLOC_FIXED_FILL_PAGES      #ifndef PIKE_HASH_T   #define PIKE_HASH_T size_t   #endif /* !PIKE_HASH_T */      #ifdef BLOCK_ALLOC_USED   #error "block_alloc.h must be included after all uses of block_alloc_h.h"   #endif /* BLOCK_ALLOC_USED */      #define BLOCK_ALLOC(DATA,SIZE) \   struct DATA *PIKE_CONCAT(alloc_,DATA)(void); \   void PIKE_CONCAT3(new_,DATA,_context)(void); \ - void PIKE_CONCAT3(really_free_,DATA,_unlocked)(struct DATA *d); \ +    void PIKE_CONCAT(really_free_,DATA)(struct DATA *d); \   void PIKE_CONCAT3(free_all_,DATA,_blocks)(void); \   void PIKE_CONCAT3(count_memory_in_,DATA,s)(size_t *num, size_t *size); \   void PIKE_CONCAT3(init_,DATA,_blocks)(void)         #define PTR_HASH_ALLOC(DATA,BSIZE) \   BLOCK_ALLOC(DATA,BSIZE); \   extern struct DATA **PIKE_CONCAT(DATA,_hash_table); \   extern size_t PIKE_CONCAT(DATA,_hash_table_size); \