/**************************************************************************** * Copyright (C) 2018 by Doxygen C Comment * * * * This file is part of Box. * * * * Box is free software: you can redistribute it and/or modify it * * under the terms of the GNU Lesser General Public License as published * * by the Free Software Foundation, either version 3 of the License, or * * (at your option) any later version. * * * * Box is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU Lesser General Public License for more details. * * * * You should have received a copy of the GNU Lesser General Public * * License along with Box. If not, see <http://www.gnu.org/licenses/>. * ****************************************************************************//** * @file doxygen_c.h * @author someone * @date 2018.1.4 * @brief doxygen 规范的 C 文件注释规范文档,可以换行, * 所有 brief 同 * * @details 对该文档的详细说明和解释,可以换行, * 所有详细说明同 */#include"hearder.h"
结构体、枚举类型标注展开目录
/** * @brief 简要说明 * * @details 详细说明 */typedefenumBoxEnum_enum{BOXENUM_FIRST,/**< Some documentation for first. */BOXENUM_SECOND,/**< Some documentation for second. */BOXENUM_ETC/**< Etc. */}BoxEnum;