pike.git / src / block_alloc.h

version» Context lines:

pike.git/src/block_alloc.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,v 1.65 2003/03/16 19:17:07 grubba Exp $ + || $Id: block_alloc.h,v 1.66 2003/03/16 19:28:37 grubba Exp $   */      #undef PRE_INIT_BLOCK   #undef DO_PRE_INIT_BLOCK   #undef INIT_BLOCK   #undef EXIT_BLOCK   #undef BLOCK_ALLOC   #undef LOW_PTR_HASH_ALLOC   #undef PTR_HASH_ALLOC_FIXED   #undef PTR_HASH_ALLOC
pike.git/src/block_alloc.h:35:   #endif      /* Invalidate the block as far as possible if running with dmalloc.    */   #define DO_PRE_INIT_BLOCK(X) do { \    DO_IF_DMALLOC(MEMSET((X), 0x55, sizeof(*(X)))); \    PRE_INIT_BLOCK(X); \    } while (0)      #ifndef PIKE_HASH_T - /* Used to be size_t, but that led to performance problems -  * on 64-bit architectures without % on 64bit unsigned. -  */ - #define PIKE_HASH_T unsigned INT32 + #define PIKE_HASH_T size_t   #endif /* !PIKE_HASH_T */      #ifdef PIKE_RUN_UNLOCKED   #include "threads.h"      /* Block Alloc UnLocked */   #define BA_UL(X) PIKE_CONCAT(X,_unlocked)   #define BA_STATIC static   #define BA_INLINE inline   #else