mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
garray: implement ga_concat_strings_sep
A generalized version of ga_concat_strings that can handle any separator. Reimplement ga_concat_strings on top of it.
This commit is contained in:

committed by
Thiago de Arruda

parent
cf68eda287
commit
104000eff6
@@ -20,6 +20,8 @@ void ga_clear(garray_T *gap);
|
||||
void ga_clear_strings(garray_T *gap);
|
||||
void ga_init(garray_T *gap, int itemsize, int growsize);
|
||||
void ga_grow(garray_T *gap, int n);
|
||||
char_u *ga_concat_strings_sep(const garray_T *gap, const char *sep)
|
||||
FUNC_ATTR_NONNULL_RET;
|
||||
char_u *ga_concat_strings(garray_T *gap) FUNC_ATTR_NONNULL_RET;
|
||||
void ga_remove_duplicate_strings(garray_T *gap);
|
||||
void ga_concat(garray_T *gap, char_u *s);
|
||||
|
Reference in New Issue
Block a user