Skip to content

Commit 16d09d4

Browse files
committed
perldelta for embed.fnc assert() statements
1 parent a76341f commit 16d09d4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pod/perldelta.pod

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,19 @@ well.
398398
Removed the deprecated (since 5.32) functions C<sv_locking()> and
399399
C<sv_unlocking>.
400400

401+
=item *
402+
403+
For core Perl maintainers, the syntax of F<embed.fnc> has been extended.
404+
Every function, C<foo()>, named in this file has generated for it a
405+
macro named C<PERL_ARGS_ASSERT_FOO>. The macro expands to C<assert()>
406+
calls that do basic sanity checking for each argument to C<foo()> that
407+
we currently deem as being appropriate to have such checking. (That
408+
means that many arguments are not checked, and that the generated macro
409+
may currently expand to nothing.) With this release, you can add
410+
C<assert()> statements yourself to F<embed.fnc> that will be
411+
incorporated into the generated macro, beyond the system-generated ones.
412+
Comments and examples in F<embed.fnc> give details.
413+
401414
=back
402415

403416
=head1 Selected Bug Fixes

0 commit comments

Comments
 (0)