diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-11-21 00:17:08 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-30 11:48:36 -0800 |
commit | e1c02f8429b9931efc13e763746fa70a9acd3324 (patch) | |
tree | e9b98d9b3a598e8a8195177c2b8133369650325f /sv.h | |
parent | 3bc8ec963e9657121e69386195faa61e46928dda (diff) | |
download | perl-e1c02f8429b9931efc13e763746fa70a9acd3324.tar.gz |
Use PADNAME rather than SV in the source
This is in preparation for making PADNAME a separate type.
This commit is not perfect. What I did was temporarily make PADNAME a
separate struct identical to struct sv and make whatever changes were
necessary to avoid compiler warnings. In some cases I had to add tem-
porary SV casts.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2212,7 +2212,7 @@ C<newSVpadname> is preferable. =cut */ -#define newSVpadname(pn) newSVsv(pn) +#define newSVpadname(pn) newSVsv((SV *)(pn)) /* =for apidoc Am|void|SvOOK_offset|NN SV*sv|STRLEN len |