Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 9d1dc8e3bf4c4286d3d098f35f83be5d6c34478a https://github.com/Perl/perl5/commit/9d1dc8e3bf4c4286d3d098f35f83be5d6c34478a Author: Nicholas Clark <n...@ccl4.org> Date: 2021-08-26 (Thu, 26 Aug 2021)
Changed paths: M hv.h Log Message: ----------- Delete the macro XHvTOTALKEYS() which is unused and not in the API. XHvTOTALKEYS() was added in Dec 2001 as part of commit 8aacddc1ea3837f8: Tidied version of Jeffrey Friedl's <jfri...@yahoo.com> restricted hashes - added delete of READONLY value inhibit & test for same - re-tabbed It's not part of the API, and not used by any code on CPAN. The last (and only) direct use was in Perl_hv_clear_placeholders(), and that was converted to HvTOTALKEYS() in May 2005 as part of commit 5d88ecd7e75b7174: Various HvPLACEHOLDERS() that should be HvPLACEHOLDERS_get() Hence "inline" the macro XHvTOTALKEYS() into the macro HvTOTALKEYS(), eliminating the only use of XHvTOTALKEYS().