summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-04-20 08:33:42 -0600
committerKarl Williamson <khw@cpan.org>2017-06-01 07:05:15 -0600
commita5ba252751fc7fd7b9d43d0ad4491eb68a14a4a6 (patch)
tree08a974b477a241d3967f64b33cf642cf207e33dd
parenta25f3052bac2e69bc82d661cc97662078e096e3f (diff)
downloadperl-a5ba252751fc7fd7b9d43d0ad4491eb68a14a4a6.tar.gz
Change formal parameter for newSVpvn
This fixes a discrepancy in perlapi. See http://nntp.perl.org/group/perl.perl5.porters/243384
-rw-r--r--embed.fnc2
-rw-r--r--proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index d0c9953273..226b19682e 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1138,7 +1138,7 @@ ApdR |SV* |newSViv |const IV i
ApdR |SV* |newSVuv |const UV u
ApdR |SV* |newSVnv |const NV n
ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
-ApdR |SV* |newSVpvn |NULLOK const char *const s|const STRLEN len
+ApdR |SV* |newSVpvn |NULLOK const char *const buffer|const STRLEN len
ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
ApdR |SV* |newSVhek |NULLOK const HEK *const hek
ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
diff --git a/proto.h b/proto.h
index 8307c6d6a9..367352cbe7 100644
--- a/proto.h
+++ b/proto.h
@@ -2313,7 +2313,7 @@ PERL_CALLCONV SV* Perl_newSVpvf(pTHX_ const char *const pat, ...)
#define PERL_ARGS_ASSERT_NEWSVPVF \
assert(pat)
-PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
+PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const buffer, const STRLEN len)
__attribute__warn_unused_result__;
PERL_CALLCONV SV* Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags)