diff options
author | Steffen Mueller <smueller@cpan.org> | 2017-02-03 09:06:41 +0100 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2017-02-03 09:25:55 +0100 |
commit | 1186f82119d5270455d8831744d4f40a4ccbb222 (patch) | |
tree | 2c1f51da84c843e838ca3c35919b48c4257357a5 /hv.h | |
parent | c9470cf1abc4cc21f63ba5222f7860ec1175adfc (diff) | |
download | perl-1186f82119d5270455d8831744d4f40a4ccbb222.tar.gz |
HvTOTALKEYS() takes a HV* as argument
Incidentally, it currently works on SV *'s as well because there's an
explicit cast after an SvANY. Let's not rely on that. This commit also
removes a pointless const in a cast. Again. It takes an HV * as argument.
Let's only change that if we have a strong reason to.
Diffstat (limited to 'hv.h')
-rw-r--r-- | hv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -325,7 +325,7 @@ C<SV*>. ((SvOOK(hv) && HvAUX(hv)->xhv_name_u.xhvnameu_name && HvAUX(hv)->xhv_name_count != -1) \ ? HEK_UTF8(HvENAME_HEK_NN(hv)) : 0) -/* the number of keys (including any placeholders) */ +/* the number of keys (including any placeholders) - NOT PART OF THE API */ #define XHvTOTALKEYS(xhv) ((xhv)->xhv_keys) /* |