summaryrefslogtreecommitdiff
path: root/APRDesign
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-16 04:46:56 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-16 04:46:56 +0000
commit5fe3c759a295e20e1dfd3cddcec90f8f1e082307 (patch)
tree7d4506f999ed4d9bb53c0fb15ab4154d5d97d033 /APRDesign
parent3d9cfdd67afc7b084e35cdc1fab7a0f3a5354095 (diff)
downloadlibapr-5fe3c759a295e20e1dfd3cddcec90f8f1e082307.tar.gz
Change the format for APR function documentation. This uses the perldoc
scripts to generate either plain text, html, or any other format perldoc can generate. This also fixes the comments to say ap_pool instead of ap_context. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59869 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'APRDesign')
-rw-r--r--APRDesign25
1 files changed, 17 insertions, 8 deletions
diff --git a/APRDesign b/APRDesign
index fe5109a3a..acca89c85 100644
--- a/APRDesign
+++ b/APRDesign
@@ -168,16 +168,25 @@ above the prototypes to be checked into the unix tree.
The format for the comment block is:
-/* ***APRDOC********************************************************
- * Function prototype with variable names
- * A one or two line description of what the function does.
- * arg 1) A brief description of the first argument.
- * ...
- * arg N) A brief description of the Nth argument.
- * NOTE: This is optional. If there is anything programmers need to
- * know about your function, add it here.
+/*
+
+=head1 function prototype
+
+B<Brief description of function>
+
+ arg 1) explanation of arg 1
+ arg 2) explanation of arg 2
+ arg N) explanation of arg N
+
+B<NOTE>: Any extra information the programmer needs.
+
+=cut
*/
+The spacing for the documentation is VERY important, because the docs are
+processed with perldoc, and this spacing is required for the perldoc scripts
+to work properly.
+
For an actual example, look at any function in the fileio/unix directory.
APR Error reporting