summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-01-31 18:16:48 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-01-31 18:16:48 -0800
commita901b18147e02d3117f168809546ebbdac442db0 (patch)
tree565420a249fe184b034038d4feadb5ad268a445a /embed.fnc
parenteff8c8ec4d6623e9b2d486205961a2e78e598b65 (diff)
downloadperl-a901b18147e02d3117f168809546ebbdac442db0.tar.gz
Make SvPVbyte return bytes for non-PVs
Instead of just doing SvPV on something that is not a PV, SvPVbyte should actually do what it is advertised as doing.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 19b6b6bec5..986c89383f 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1212,7 +1212,7 @@ pMd |SV* |sv_2num |NN SV *const sv
Amb |char* |sv_2pv |NULLOK SV *sv|NULLOK STRLEN *lp
Apd |char* |sv_2pv_flags |NULLOK SV *const sv|NULLOK STRLEN *const lp|const I32 flags
Apd |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
-Apd |char* |sv_2pvbyte |NN SV *const sv|NULLOK STRLEN *const lp
+Apd |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
Ap |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
Amb |UV |sv_2uv |NULLOK SV *sv
Apd |UV |sv_2uv_flags |NULLOK SV *const sv|const I32 flags