Comments for functions do not not function as expected. I can give examples on request, but here are the issues I came across testing codedoc with a small file with just a single function defined.
- If the return type is not
void, there is a comment before the function, and there isn't a comment after the return type, the comment before the function becomes documentation for the return type and not for the function itself.
- A multi-line comment after the return type breaks the documentation for the function itself.
- Documentation comments for arguments only work if the parameter contains a comma after the parameter name.
- Man pages do not show return type and parameter documentation.
Comments for functions do not not function as expected. I can give examples on request, but here are the issues I came across testing
codedocwith a small file with just a single function defined.void, there is a comment before the function, and there isn't a comment after the return type, the comment before the function becomes documentation for the return type and not for the function itself.