Skip to content

Commit bda38bb

Browse files
committed
perlintern: document newFORM
This follows the same paradigm as various similar functions that are in perlapi. This commit is from 2022, and I no longer remember why it goes in perlintern, or if that is a mistake.
1 parent accbfd5 commit bda38bb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

embed.fnc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ ARdp |OP * |newCVREF |I32 flags \
22242224
ARdpx |OP * |newDEFEROP |I32 flags \
22252225
|NN OP *block
22262226
ARdp |OP * |newDEFSVOP
2227-
Cp |void |newFORM |I32 floor \
2227+
Cdp |void |newFORM |I32 floor \
22282228
|NULLOK OP *o \
22292229
|NULLOK OP *block
22302230
ARdp |OP * |newFOROP |I32 flags \

op.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12235,6 +12235,14 @@ Perl_newSTUB(pTHX_ GV *gv, bool fake)
1223512235
return cv;
1223612236
}
1223712237

12238+
/*
12239+
=for apidoc newFORM
12240+
12241+
Constructs, checks, and returns a format op.
12242+
12243+
=cut
12244+
*/
12245+
1223812246
void
1223912247
Perl_newFORM(pTHX_ I32 floor, OP *o, OP *block)
1224012248
{

0 commit comments

Comments
 (0)