Branch: Tag:

2012-07-01

2012-07-01 13:40:57 by Arne Goedeke <el@laramies.com>

dont use block_alloc.h compatible macros and usw gjalloc in strings directly

72:   #define BA_INLINE   #endif    - #ifdef PIKE_NEW_BLOCK_ALLOC + #if 0 /*def PIKE_NEW_BLOCK_ALLOC*/   # define ba_error Pike_error   # include "global.h"   # include "pike_error.h"
106:   #define WALK_NONFREE_BLOCKS(DATA, BLOCK, FCOND, CODE...) do { \    struct block_allocator * a = &PIKE_CONCAT(DATA, _allocator); \    if (a->alloc) a->alloc->h = a->h; \ +  if (a->last_free) a->last_free->h = a->hf; \    PAGE_LOOP(a, { \    uint32_t i, used = p->h.used; \    for (i = 0; used && i < a->l.blocks; i++) { \