breathe
breathe copied to clipboard
doxygenfunction could not recognize function declarations with macro
I am using Doxygen+Sphinx+Breathe to build the documents for my project.
If I use macros in the function definition:
MY_API void SetMyOptions(MyOptions* options);
Then when use .. doxygenfunction:: SetMyOptions
to generate html, the following error will appear:
doxygenfunction: Unable to resolve function “SetMyOptions” with arguments “None”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration.
Howerver, It's ok if the function declaration is like this:
void SetMyOptions(MyOptions* options);
Is this a bug? Or how should I adjust my directive? Thanks!