pike.git / src / pike_memory.h

version» Context lines:

pike.git/src/pike_memory.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: pike_memory.h,v 1.29 2000/12/13 21:31:53 hubbe Exp $ +  * $Id: pike_memory.h,v 1.30 2001/10/03 18:18:51 mast Exp $    */   #ifndef MEMORY_H   #define MEMORY_H      #include "global.h"   #include "stralloc.h"            #define MEMSEARCH_LINKS 512
pike.git/src/pike_memory.h:101:    char haystack_shift);   PMOD_EXPORT char *my_memmem(char *needle,    size_t needlelen,    char *haystack,    size_t haystacklen);   PMOD_EXPORT void memfill(char *to,    INT32 tolen,    char *from,    INT32 fromlen,    INT32 offset); - PMOD_EXPORT char *debug_xalloc(size_t size); + 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);      #undef BLOCK_ALLOC      #ifdef HANDLES_UNALIGNED_MEMORY_ACCESS   #define DO_IF_ELSE_UNALIGNED_MEMORY_ACCESS(IF, ELSE) IF   #else /* !HANDLES_UNALIGNED_MEMORY_ACCESS */