4 ms·
I also like to add doxygen headers to functions, but have stopped adding the inputs and outputs. Refactorings causes the doxygen to go out of sync with the code
by kabouseng 12y ago
I also like to add doxygen headers to functions, but have stopped adding the inputs and outputs. Refactorings causes the doxygen to go out of sync with the code.
Currently I only do the following:
/**@fn foobar
* @brief Does foo
*/
-edit formatting
- Nursie 12y agoThis is true, if you're lazy! In C at least, I think it's important to specify whether we're expecting a pointer to a single element, a pointer to an array, if the pointer is an output, etc etc. A uint8_t* could be many things...