Changes between Version 4 and Version 5 of MissingCFunctionDocs
- Timestamp:
- 06/30/10 01:04:12 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MissingCFunctionDocs
v4 v5 3 3 The following is extracted from the test t/codingstd/c_function_docs.t. 4 4 5 The following givesthe C source file in single quotes, followed by the output for the test - prefixed by #5 If the test fails it will give the C source file in single quotes, followed by the output for the test - prefixed by # 6 6 7 7 It gives the number of functions missing documentation in the source file, then the function(s) missing documentation, and what the test expects to be there (Want:). 8 8 9 Bear in mind we are dealing with POD and that it expects a maximum line length of 78.9 The want: part gives what the documentation header is expects. 10 10 11 as of r44170 the following C functions are missing documentation:11 of the form: 12 12 {{{ 13 All current functions have at least (boilerplate only) or valid documentation 13 # =item C<function_name(parameters) 14 # it may be wrapped onto a second line if it exceeds 80 characters 14 15 }}} 16 17 Bear in mind we are dealing with POD and that it expects a maximum line length of 80. 18 19 The documentation requires the following format in a C function: 20 21 {{{ 22 /* 23 24 =over 4 25 26 =item C<function name and parameters wrapped at line 80> 27 28 some documentation (again wrapped at line 80) 29 30 =back 31 32 =cut 33 34 */ 35 36 function header here 37 38 }}} 39 40 The =over 4 is not required if a previous =over 4 exists without a =back which needs to be in the last entry.