From 78342678c3d43495ec0526969486d748b07f0525 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 25 Jun 2019 08:40:05 -0600 Subject: 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. --- pp.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pp.h') 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. See C> and C. -=for apidoc AmU||MARK +=for apidoc AmnU||MARK Stack marker variable for the XSUB. See C>. =for apidoc Am|void|PUSHMARK|SP @@ -42,7 +42,7 @@ C>. =for apidoc Amns||dORIGMARK Saves the original stack mark for the XSUB. See C>. -=for apidoc AmU||ORIGMARK +=for apidoc AmnU||ORIGMARK The original stack mark for the XSUB. See C>. =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. See also C> and C>. -=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. See also C>, C> and C>. @@ -270,7 +270,7 @@ C>. Push an SV onto the stack, extending the stack if necessary and mortalizes the SV. Does not use C. See also C> and C>. -=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. See also C>, C> and C>. @@ -638,7 +638,7 @@ Does not use C. See also C>, C> and C>. #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 */ -- cgit v1.2.1