优化注释

This commit is contained in:
Aoran Zeng 2025-08-27 12:17:49 +08:00
parent 8e1f6a35f6
commit 7f1832b5fd
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -289,7 +289,7 @@ xy_2strcat (const char *str1, const char *str2)
*
* @flavor C语言存在 strcat()
* `concat` API广泛应用于包括 RubyJavaScriptJVM familyC#
* 'concat' API广泛应用于包括 RubyJavaScriptJVM familyC#
*
* xy_str_concat() xy_strcat() API chsrc
* 使
@ -784,13 +784,17 @@ _xy_log_brkt (int level, const char *prompt1, const char *prompt2, const char *c
*
* @param cmd
* @param n 0 n (n>0) n行
* @param func
* @param func true
*
* @return `n`
* @return
* 1. `n`
*
* 2. `func` true
*
* @note
*
* `func`
* @note
* 1. `n` `func`
*
* 2. `func` true `func`
*/
static char *
xy_run_iter_lines (const char *cmd, unsigned long n, bool (*func) (const char *))
@ -819,11 +823,8 @@ xy_run_iter_lines (const char *cmd, unsigned long n, bool (*func) (const char
break;
if (func)
{
if (func (buf))
{
pclose (stream);
return ret;
}
if (func (ret))
break;
}
}