美文网首页
注释代码使用模板

注释代码使用模板

作者: Lee_5566 | 来源:发表于2020-10-23 15:33 被阅读0次
image.png

c/c++模板

/**
 * \brief Loads an item by name from this linker.
 *
 * \param linker the linker to load from
 * \param module the name of the module to get
 * \param name the name of the field to get
 * \param item where to store the extracted item
 *
 * \return An error is returned if the item isn't defined or has more than one
 * definition, or `NULL` is returned and `item` is filled in otherwise.
 */

或者

/**
 * @brief Loads an item by name from this linker.
 *
 * @param linker the linker to load from
 * @param module the name of the module to get
 * @param name the name of the field to get
 * @param item where to store the extracted item
 *
 * @return An error is returned if the item isn't defined or has more than one
 * definition, or `NULL` is returned and `item` is filled in otherwise.
 */

相关文章

网友评论

      本文标题:注释代码使用模板

      本文链接:https://www.haomeiwen.com/subject/ddjvmktx.html