diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-02-27 19:10:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-02-27 19:10:02 +0000 |
commit | 641071807211a3969bcad26ac3f2a39f4550a11c (patch) | |
tree | f8d7cf2e1c8f223acae107e41f2361248172d699 /embed.h | |
parent | 4fd0a9b8690ace1bad89926e6d018a6f863761c3 (diff) | |
download | perl-641071807211a3969bcad26ac3f2a39f4550a11c.tar.gz |
Add Perl_malloc_good_size to malloc.c. (A routine that rounds up the
passed in request to the size that will actually be allocated. It's
the same interface as Darwin already provides with malloc_good_size().)
p4raw-id: //depot/perl@33389
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -38,6 +38,7 @@ #if defined(MYMALLOC) #ifdef PERL_CORE #define malloced_size Perl_malloced_size +#define malloc_good_size Perl_malloc_good_size #endif #endif #define get_context Perl_get_context @@ -2349,6 +2350,7 @@ #if defined(MYMALLOC) #ifdef PERL_CORE #define malloced_size Perl_malloced_size +#define malloc_good_size Perl_malloc_good_size #endif #endif #define get_context Perl_get_context |