summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-06-25 08:40:05 -0600
committerKarl Williamson <khw@cpan.org>2019-06-25 09:07:12 -0600
commit78342678c3d43495ec0526969486d748b07f0525 (patch)
tree91ac0dcdeacea9d8c052f07e4a8633a3d5340fe0 /pp.h
parent5c696bd319ee40ee8ca0a317377f9c7b73d1fa8b (diff)
downloadperl-78342678c3d43495ec0526969486d748b07f0525.tar.gz
Fix apidoc macro entries
This makes various fixes to the text that is used to generate the documentation. The dominant change is to add the 'n' flag to indicate that the macro takes no arguments. A couple should have been marked with a D (for deprecated) flag, and a couple were missing parameters, and a couple were missing return values. These were spotted by using Devel::PPPort on them.
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pp.h b/pp.h
index 54a19edba1..d4176db9ed 100644
--- a/pp.h
+++ b/pp.h
@@ -13,11 +13,11 @@
/*
=head1 Stack Manipulation Macros
-=for apidoc AmU||SP
+=for apidoc AmnU||SP
Stack pointer. This is usually handled by C<xsubpp>. See C<L</dSP>> and
C<SPAGAIN>.
-=for apidoc AmU||MARK
+=for apidoc AmnU||MARK
Stack marker variable for the XSUB. See C<L</dMARK>>.
=for apidoc Am|void|PUSHMARK|SP
@@ -42,7 +42,7 @@ C<L</dORIGMARK>>.
=for apidoc Amns||dORIGMARK
Saves the original stack mark for the XSUB. See C<L</ORIGMARK>>.
-=for apidoc AmU||ORIGMARK
+=for apidoc AmnU||ORIGMARK
The original stack mark for the XSUB. See C<L</dORIGMARK>>.
=for apidoc Amns||SPAGAIN
@@ -243,7 +243,7 @@ Push an SV onto the stack and mortalizes the SV. The stack must have room
for this element. Does not use C<TARG>. See also C<L</PUSHs>> and
C<L</mXPUSHs>>.
-=for apidoc Am|void|PUSHmortal
+=for apidoc Amn|void|PUSHmortal
Push a new mortal SV onto the stack. The stack must have room for this
element. Does not use C<TARG>. See also C<L</PUSHs>>, C<L</XPUSHmortal>> and
C<L</XPUSHs>>.
@@ -270,7 +270,7 @@ C<L</XPUSHu>>.
Push an SV onto the stack, extending the stack if necessary and mortalizes
the SV. Does not use C<TARG>. See also C<L</XPUSHs>> and C<L</mPUSHs>>.
-=for apidoc Am|void|XPUSHmortal
+=for apidoc Amn|void|XPUSHmortal
Push a new mortal SV onto the stack, extending the stack if necessary.
Does not use C<TARG>. See also C<L</XPUSHs>>, C<L</PUSHmortal>> and
C<L</PUSHs>>.
@@ -638,7 +638,7 @@ Does not use C<TARG>. See also C<L</XPUSHu>>, C<L</mPUSHu>> and C<L</PUSHu>>.
#define opASSIGN (PL_op->op_flags & OPf_STACKED)
/*
-=for apidoc mU||LVRET
+=for apidoc mnU||LVRET
True if this op will be the return value of an lvalue subroutine
=cut */