This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
If the C library provides malloc_size(), we can use that in the same
authorNicholas Clark <nick@ccl4.org>
Tue, 26 Feb 2008 23:22:30 +0000 (23:22 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 26 Feb 2008 23:22:30 +0000 (23:22 +0000)
commitca7c1a2998b2bece800791e0ee5cce600e2f647a
treebf96c040e0b720173dd3d840b315602cdd04f92a
parent5d487c263b0c0c7fb6c50dee3540f1838c4ab067
If the C library provides malloc_size(), we can use that in the same
places as Perl's malloced_size(), except that we need to be careful of
any PERL_TRACK_MEMPOOL manipulations in force. Wrap both as
Perl_safesysmalloc_size(), to give a consistent name and interface.

p4raw-id: //depot/perl@33379
av.c
handy.h
perl.h
sv.c