c - Doxygen: How to redefine void -
i use library redefine void type (among others):
#define xx_void void so when run doxygen on code like
/** * @brief function description */ xx_void foo(xx_void) { /*...*/ } i warning
file.c:10: warning: return type of member foo not documented how can tell doxygen xx_void void there no return value ?
you can try macro_expansion tag:
macro_expansion
if
macro_expansiontag setyes, doxygen expand macro names in source code. if setno, conditional compilation performed. macro expansion can done in controlled way settingexpand_only_predefyes.the default value is:
no.this tag requires tag
enable_preprocessingsetyes.
with macro_expansion set yes result after doxygen preprocessing becomes:
void foo(void) { /* ... */ }
Comments
Post a Comment