diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-01-31 18:16:48 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-01-31 18:16:48 -0800 |
commit | a901b18147e02d3117f168809546ebbdac442db0 (patch) | |
tree | 565420a249fe184b034038d4feadb5ad268a445a /embed.fnc | |
parent | eff8c8ec4d6623e9b2d486205961a2e78e598b65 (diff) | |
download | perl-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.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |