diff options
author | Karl Williamson <khw@cpan.org> | 2017-04-20 08:33:42 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-06-01 07:05:15 -0600 |
commit | a5ba252751fc7fd7b9d43d0ad4491eb68a14a4a6 (patch) | |
tree | 08a974b477a241d3967f64b33cf642cf207e33dd | |
parent | a25f3052bac2e69bc82d661cc97662078e096e3f (diff) | |
download | perl-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.fnc | 2 | ||||
-rw-r--r-- | proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -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) |