summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-29 20:12:56 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-29 20:12:56 -0800
commitbbd429459d2ee40043d86e5bc021a9d030ca05d1 (patch)
treed7e49ab2401713c9ac60b4066aeee53f2937400e /hv.h
parent9d32539b56f03de1849acc6621b291c318729bc5 (diff)
downloadperl-bbd429459d2ee40043d86e5bc021a9d030ca05d1.tar.gz
hv.h: Don’t call a char * parameter ‘sv’!
This goes all the way back to bbce6d6978 (inseparable changes from patch from perl5.003_08 to perl5.003_09). It is mightily confusing for anyone trying to figure out how these things work.
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hv.h b/hv.h
index 2058fcd653..e45460a8c0 100644
--- a/hv.h
+++ b/hv.h
@@ -452,8 +452,8 @@ C<SV*>.
#define hv_magic(hv, gv, how) sv_magic(MUTABLE_SV(hv), MUTABLE_SV(gv), how, NULL, 0)
#define hv_undef(hv) Perl_hv_undef_flags(aTHX_ hv, 0)
-#define Perl_sharepvn(sv, len, hash) HEK_KEY(share_hek(sv, len, hash))
-#define sharepvn(sv, len, hash) Perl_sharepvn(sv, len, hash)
+#define Perl_sharepvn(pv, len, hash) HEK_KEY(share_hek(pv, len, hash))
+#define sharepvn(pv, len, hash) Perl_sharepvn(pv, len, hash)
#define share_hek_hek(hek) \
(++(((struct shared_he *)(((char *)hek) \