提交 c1a6e2fb 编写于 作者: C Chen Hanxiao 提交者: Erik Skultety

util: virstring: Tweak a few more descriptions.

There are a few more description-related issues that commit @9026d115
forgot to address.
Signed-off-by: NChen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: NErik Skultety <eskultet@redhat.com>
上级 faec1958
......@@ -280,7 +280,7 @@ virStringListCopy(char ***dst,
/**
* virStringListFree:
* @str_array: a NULL-terminated array of strings to free
* @strings: a NULL-terminated array of strings to free
*
* Frees a NULL-terminated array of strings, and the array itself.
* If called on a NULL value, virStringListFree() simply returns.
......@@ -1041,7 +1041,7 @@ int virStringSortRevCompare(const void *a, const void *b)
* @matches: pointer to an array to be filled with NULL terminated list of matches
*
* Performs a POSIX extended regex search against a string and return all matching substrings.
* The @result value should be freed with virStringListFree() when no longer
* The @matches value should be freed with virStringListFree() when no longer
* required.
*
* @code
......@@ -1319,7 +1319,7 @@ virStringFilterChars(char *str, const char *valid)
/**
* virStringToUpper:
* @str: string to capitalize
* @src string to capitalize
* @dst: where to store the new capitalized string
*
* Capitalize the string with replacement of all '-' characters for '_'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册