diff options
author | David Mitchell <davem@iabyn.com> | 2016-07-07 09:40:22 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-07-07 09:40:22 +0100 |
commit | 1164fd158dc892739cc9ec8b770081b2770c047f (patch) | |
tree | 4ee2277d2b85a9465d659b592ea552ac5ab630c4 /proto.h | |
parent | 6982f23dff629b361f9ef59318bb62f1c4ced357 (diff) | |
download | perl-1164fd158dc892739cc9ec8b770081b2770c047f.tar.gz |
undeprecate hv_bucket_ratio()
This function was recently added, but marked as deprecated in embed.fnc.
Based on this thread:
http://nntp.perl.org/group/perl.perl5.porters/237486
It looks like the 'M' (may change) flag is sufficient to capture what was
intended. Removing the 'D' avoids every usage in core emitting a warning
to STDERR during build, while it still adds a caution to the entry in
perlapi.pod:
NOTE: this function is experimental and may change or be
removed without notice.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1118,7 +1118,6 @@ PERL_CALLCONV AV** Perl_hv_backreferences_p(pTHX_ HV *hv); #define PERL_ARGS_ASSERT_HV_BACKREFERENCES_P \ assert(hv) PERL_CALLCONV SV* Perl_hv_bucket_ratio(pTHX_ HV *hv) - __attribute__deprecated__ __attribute__warn_unused_result__; #define PERL_ARGS_ASSERT_HV_BUCKET_RATIO \ assert(hv) |