Skip to content

Commit

Permalink
perldelta for newLISTOPn()
Browse files Browse the repository at this point in the history
  • Loading branch information
leonerd committed Aug 30, 2023
1 parent 5fa726e commit 68087ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pod/perldelta.pod
Expand Up @@ -351,7 +351,12 @@ well.

=item *

XXX
A new API function has been added that simplifies C (or XS) code that creates
C<LISTOP> optree fragments. C<newLISTOPn()> is a variadic function that takes
a C<NULL>-terminated list of child op pointers, and constructs a new checked
C<LISTOP> to contain them all. This is simpler than creating a new plain
C<OP_LIST>, adding each child individually, and finally calling
C<op_convert_list()> in most code fragments.

=back

Expand Down

0 comments on commit 68087ab

Please sign in to comment.