c++ - C 中的 Doxygen 错误

标签 c++ c function warnings doxygen

doxygen 中函数的注释有什么错误?

///////////////////////////////////////////////////
///@brief : create_node that will create new node 
///     that can be used by user 
///@param : value:unsigned integer number
///@return : returns newly generated node
//////////////////////////////////////////////////

错误:-

警告:create_node(unsigned int value) 的以下参数未记录: 参数“值”

此警告对于我的 c 文件中的所有函数都很常见。

有警告,它也以正确的方式记录文件。比为什么警告??

最佳答案

请尝试使用:

/**
* @brief  create_node that will create new node that can be used by user 
* @param  value:unsigned integer number
* @return  returns newly generated node
*/

我从来没有遇到过这种风格的问题。

关于c++ - C 中的 Doxygen 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21226596/

相关文章:

c++ - 对删除分配给结构数组的动态内存感到困惑

c - gcc "-fvisibility=hidden"应用于标准 c 编译的可执行文件时是否受到伤害

c - 如何在 C 中使用 libsox 更改声音文件的速度?

java - 在java中调用函数时定义数组

c++ - 仅移动类型的 std::expected 的这种行为是 MSVC bug 还是未定义的行为?

c++ - 替换功能不起作用?

c++ - 获取鼠标悬停时 ClistBox 项目的索引

mysql - 如何在 C 中返回 SELECT COUNT 的值

c - 返回什么;意思?

javascript - 检查按钮 "hasn' t"是否在一定时间内被点击 (jQuery)