In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/1164fd158dc892739cc9ec8b770081b2770c047f?hp=6982f23dff629b361f9ef59318bb62f1c4ced357>

- Log -----------------------------------------------------------------
commit 1164fd158dc892739cc9ec8b770081b2770c047f
Author: David Mitchell <[email protected]>
Date:   Thu Jul 7 09:40:22 2016 +0100

    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.
-----------------------------------------------------------------------

Summary of changes:
 embed.fnc | 2 +-
 proto.h   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/embed.fnc b/embed.fnc
index fe5eb68..88a70f9 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2774,7 +2774,7 @@ Apod      |void   |hv_assert      |NN HV *hv
 #endif
 
 ApdR   |SV*    |hv_scalar      |NN HV *hv
-ApdRMD |SV*    |hv_bucket_ratio|NN HV *hv
+ApdRM  |SV*    |hv_bucket_ratio|NN HV *hv
 ApoR   |I32*   |hv_riter_p     |NN HV *hv
 ApoR   |HE**   |hv_eiter_p     |NN HV *hv
 Apo    |void   |hv_riter_set   |NN HV *hv|I32 riter
diff --git a/proto.h b/proto.h
index 9bdbac7..5c8f9d8 100644
--- a/proto.h
+++ b/proto.h
@@ -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)

--
Perl5 Master Repository

Reply via email to