pike.git / src / pike_memory.h

version» Context lines:

pike.git/src/pike_memory.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: pike_memory.h,v 1.41 2003/05/30 00:09:24 mast Exp $ + || $Id: pike_memory.h,v 1.42 2005/05/26 12:00:14 grubba Exp $   */      #ifndef MEMORY_H   #define MEMORY_H      #include "global.h"   #include "stralloc.h"      #ifdef USE_VALGRIND   
pike.git/src/pike_memory.h:162:    INT32 tolen,    char *from,    INT32 fromlen,    INT32 offset);   PMOD_EXPORT void *debug_xalloc(size_t size);   PMOD_EXPORT void *debug_xmalloc(size_t s);   PMOD_EXPORT void debug_xfree(void *mem);   PMOD_EXPORT void *debug_xrealloc(void *m, size_t s);   PMOD_EXPORT void *debug_xcalloc(size_t n, size_t s);    + void *mexec_alloc(size_t sz); + void *mexec_realloc(void *ptr, size_t sz); + void mexec_free(void *ptr); +    #undef BLOCK_ALLOC      #ifdef HANDLES_UNALIGNED_MEMORY_ACCESS   #define DO_IF_ELSE_UNALIGNED_MEMORY_ACCESS(IF, ELSE) IF   #else /* !HANDLES_UNALIGNED_MEMORY_ACCESS */   #define DO_IF_ELSE_UNALIGNED_MEMORY_ACCESS(IF, ELSE) ELSE   #endif /* HANDLES_UNALIGNED_MEMORY_ACCESS */      #if SIZEOF_CHAR_P == 4   #define DIVIDE_BY_2_CHAR_P(X) (X >>= 3)