improve api doc

This commit is contained in:
lixianjing 2022-03-03 18:22:33 +08:00
parent fa446b6acc
commit 0f9017652c

View File

@ -592,7 +592,7 @@ uint32_t str_count(str_t* str, const char* substr);
* @method str_format
*
* @param {str_t*} str str对象
* @param {uint32_t} size format生成的字符串的最大长度()
* @param {uint32_t} size format生成的字符串的最大长度()
* @param {const char*} format
*
* @return {ret_t} RET_OK表示成功
@ -603,7 +603,7 @@ ret_t str_format(str_t* str, uint32_t size, const char* format, ...);
* @method str_append_format
*
* @param {str_t*} str str对象
* @param {uint32_t} size format生成的字符串的最大长度()
* @param {uint32_t} size format生成的字符串的最大长度()
* @param {const char*} format
*
* @return {ret_t} RET_OK表示成功