summaryrefslogtreecommitdiff
path: root/proto.h
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 /proto.h
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 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 4f95c42138..528f0a74e7 100644
--- a/proto.h
+++ b/proto.h
@@ -3716,7 +3716,7 @@ PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, cons
#define PERL_ARGS_ASSERT_SV_2PV_NOLEN \
assert(sv)
-PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *const sv, STRLEN *const lp)
+PERL_CALLCONV char* Perl_sv_2pvbyte(pTHX_ SV *sv, STRLEN *const lp)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_SV_2PVBYTE \
assert(sv)