最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

<-
Apache > HTTP Server > 文檔 > 版本2.2 > 開發(fā)者文檔
   致謝 | 譯者聲明 | 本篇譯者:<虛位以待> | 本篇譯稿完成時(shí)間:?年?月?日 | 獲取最新版本

Documenting Apache 2.0

Apache 2.0 uses Doxygen to document the APIs and global variables in the the code. This will explain the basics of how to document using Doxygen.

top

Brief Description

To start a documentation block, use /**
To end a documentation block, use */

In the middle of the block, there are multiple tags we can use:

Description of this functions purpose
@param parameter_name description
@return description
@deffunc signature of the function

deffunc is not always necessary. DoxyGen does not have a full parser in it, so any prototype that use a macro in the return type declaration is too complex for scandoc. Those functions require a deffunc. An example (using &gt; rather than >):

/**
 * return the final element of the pathname
 * @param pathname The path to get the final element of
 * @return the final element of the path
 * @tip Examples:
 * <pre>
 * "/foo/bar/gum" -&gt; "gum"
 * "/foo/bar/gum/" -&gt; ""
 * "gum" -&gt; "gum"
 * "wi\\n32\\stuff" -&gt; "stuff"
 * </pre>
 * @deffunc const char * ap_filename_of_pathname(const char *pathname)
 */

At the top of the header file, always include:

/**
 * @package Name of library header
 */

Doxygen uses a new HTML file for each package. The HTML files are named {Name_of_library_header}.html, so try to be concise with your names.

For a further discussion of the possibilities please refer to the Doxygen site.

读书| 灵武市| 无锡市| 延安市| 从化市| 滨海县| 巴楚县| 平遥县| 金沙县| 盐山县| 遂平县| 喜德县| 黄陵县| 阿勒泰市| 天门市| 靖州| 泽普县| 涟水县| 海伦市| 阜阳市| 阜城县| 皋兰县| 兴宁市| 蓝田县| 怀远县| 江山市| 台南县| 许昌县| 涿鹿县| 宣恩县| 报价| 常德市| 广德县| 三河市| 汨罗市| 高清| 班戈县| 绥化市| 三台县| 林芝县| 龙江县|