diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-11-29 20:12:56 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-29 20:12:56 -0800 |
commit | bbd429459d2ee40043d86e5bc021a9d030ca05d1 (patch) | |
tree | d7e49ab2401713c9ac60b4066aeee53f2937400e /hv.h | |
parent | 9d32539b56f03de1849acc6621b291c318729bc5 (diff) | |
download | perl-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) \ |