rename uc_strvec_expand->uc_strvec_check_expand, and clarify
docs
This commit is contained in:
@@ -38,12 +38,12 @@ void uc_strv_init(struct UCStrv *strv);
|
||||
int uc_strv_grow(struct UCStrv *strv, size_t cnt);
|
||||
|
||||
/**
|
||||
* Expand the UCStrv to hold 1 more item
|
||||
* Expand the UCStrv to hold attleast 1 more item if needed
|
||||
*
|
||||
* @param strv UCStrv to expand
|
||||
* @return 0 on success, otherwise failure
|
||||
**/
|
||||
int uc_strv_expand(struct UCStrv *strv);
|
||||
int uc_strv_check_expand(struct UCStrv *strv);
|
||||
|
||||
/**
|
||||
* Append a string to the UCStrv, the string will be copied in
|
||||
|
||||
Reference in New Issue
Block a user