且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用Doxygen在C ++中记录宏函数

更新时间:2023-12-01 09:22:16

请参见 http://www.doxygen.nl/manual/index.html

特殊命令"部分列出了自动链接生成"部分描述了您要链接到宏的内容.

The section "Special Commands" lists the \def command, and the section "Automatic link generation" describes what you want to link to the macro.

使用\def记录与声明分开的宏.
使用#MACRO(params)自动链接到所述宏定义.

Use \def to document a macro separate from the declaration.
Use #MACRO(params) to auto-link to said macro definition.