pike.git / src / block_alloc.h

version» Context lines:

pike.git/src/block_alloc.h:71:   #define BA_STATIC   #define BA_INLINE   #endif      #ifdef PIKE_NEW_BLOCK_ALLOC   # define ba_error Pike_error   # include "global.h"   # include "pike_error.h"   # include "pike_memory.h"   # define EXPORT PMOD_EXPORT - # include "GJAlloc/block_allocator.h" + # include "gjalloc.h"   # undef EXPORT   /* we assume here that malloc has 8 bytes of overhead */   #define BLOCK_HEADER_SIZE (sizeof(struct ba_page) + sizeof(void*))         #define BLOCK_ALLOC_FILL_PAGES(DATA, PAGES) \    BLOCK_ALLOC(DATA, \    ((PIKE_MALLOC_PAGE_SIZE * (PAGES)) - BLOCK_HEADER_SIZE) / \    sizeof (struct DATA))