File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -357,6 +357,19 @@ with C<valid_utf8_to_uvchr>; its reason for existence is to have
357357consistent spelling with the names of the other functions that translate
358358from UTF-8, so you don't have to remember a different spelling.
359359
360+ =item *
361+
362+ L<perlapi/C<newSVsv_flags_NN>> is a new function for creating a new SV
363+ and assigning the value(s) of an existing SV to it.
364+
365+ Historically, C<Perl_newSVsv_flags> and C<Perl_sv_mortalcopy_flags> would
366+ pass a new SV head and the original SV to C<Perl_sv_setsv_flags>. However,
367+ the latter contains many branches of no relevance to a fresh SV, so they
368+ now make use of the new function to streamline the process.
369+
370+ C<Perl_newSVsv_flags> is now essentially a NULL pointer check and wrapper
371+ around the new function, so has been moved into F<sv_inline.h>.
372+
360373=back
361374
362375=head1 Selected Bug Fixes
You can’t perform that action at this time.
0 commit comments