summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-27 19:10:02 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-27 19:10:02 +0000
commit641071807211a3969bcad26ac3f2a39f4550a11c (patch)
treef8d7cf2e1c8f223acae107e41f2361248172d699 /embed.h
parent4fd0a9b8690ace1bad89926e6d018a6f863761c3 (diff)
downloadperl-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 3b6cb78847..f8fce70315 100644
--- a/embed.h
+++ b/embed.h
@@ -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