Branch: Tag:

2005-05-26

2005-05-26 12:00:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported mexec_* from Pike 7.7.

Rev: src/pike_memory.c:1.140
Rev: src/pike_memory.h:1.42

2:   || 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
169:   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