projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eac0b1
)
Fix bad reference in sv.h’s docs
author
Father Chrysostomos
<sprout@cpan.org>
Sat, 31 Dec 2011 00:04:57 +0000
(16:04 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 31 Dec 2011 04:30:44 +0000
(20:30 -0800)
SvPVx should be referring to SvPV as the faster version, not SvPVX.
sv.h
patch
|
blob
|
history
diff --git
a/sv.h
b/sv.h
index
4282144
..
48b05ec
100644
(file)
--- a/
sv.h
+++ b/
sv.h
@@
-1417,7
+1417,7
@@
C<SvPVx> for a version which guarantees to evaluate sv only once.
=for apidoc Am|char*|SvPVx|SV* sv|STRLEN len
A version of C<SvPV> which guarantees to evaluate C<sv> only once.
Only use this if C<sv> is an expression with side effects, otherwise use the
-more efficient C<SvPV
X
>.
+more efficient C<SvPV>.
=for apidoc Am|char*|SvPV_nomg|SV* sv|STRLEN len
Like C<SvPV> but doesn't process magic.