I'm trying to generate docs for a simple vector in C, which uses preprocessor statements to simulate a C++ template. For example, the init() function looks like:
(Some default substitutions have been made.) Is there a way to just override the doxygen function declaration with a plain string, so that doxygen displays the string instead of what it would normally parse out of the code? Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to generate docs for a simple vector in C, which uses preprocessor statements to simulate a C++ template. For example, the init() function looks like:
All the tokens in capitals are defined above the
#include
, so for example a source file might have:This would generate a function:
Not surprisingly, doxygen is not able to parse all the preprocessor stuff. It comes out like this in the html:
(Some default substitutions have been made.) Is there a way to just override the doxygen function declaration with a plain string, so that doxygen displays the string instead of what it would normally parse out of the code? Thanks for your help.