diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-05 00:52:57 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-05 00:52:57 +0000 |
commit | cae6d0e5ad55f3d6c7902bf7cfc560481e827bb3 (patch) | |
tree | 215b3828567ca9dacc002b6bd8677ce13150a6db /embed.pl | |
parent | 50dd6e574ff39b609595ddb16b2fe9f625a26f8c (diff) | |
download | perl-cae6d0e5ad55f3d6c7902bf7cfc560481e827bb3.tar.gz |
fix the binary compatibility issue when building with/without
usemymalloc by exporting Perl_malloc() et al as simple wrappers
around the system functions (this allows most extensions built
using one mode to coexist with perls built in the other mode)
XXX the Perl_mfree() wrapper might need to do return(free()) on
platforms where Free_t isn't "void"
p4raw-id: //depot/perl@11152
Diffstat (limited to 'embed.pl')
-rwxr-xr-x | embed.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1359,11 +1359,11 @@ Ajno |PerlInterpreter*|perl_clone_using|PerlInterpreter *interp|UV flags \ # endif #endif -#if defined(MYMALLOC) Ajnop |Malloc_t|malloc |MEM_SIZE nbytes Ajnop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size Ajnop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes Ajnop |Free_t |mfree |Malloc_t where +#if defined(MYMALLOC) jnp |MEM_SIZE|malloced_size |void *p #endif |