Branch: Tag:

2005-05-25

2005-05-25 16:59:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added mexec_*() used to allocate executable memory.

Rev: src/pike_memory.c:1.161
Rev: src/pike_memory.h:1.51

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.50 2004/12/30 13:40:19 grubba Exp $ + || $Id: pike_memory.h,v 1.51 2005/05/25 16:59:39 grubba Exp $   */      #ifndef MEMORY_H
128:   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