mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
add documentation for smartlist_join_strings
svn:r2524
This commit is contained in:
parent
7fa5d224d4
commit
2fb08fe46c
@ -609,6 +609,11 @@ int smartlist_split_string(smartlist_t *sl, const char *str, const char *sep,
|
||||
return n;
|
||||
}
|
||||
|
||||
/** Allocate and return a new string containing the concatenation of
|
||||
* the elements of <b>sl</b>, in order, separated by <b>join</b>. If
|
||||
* <b>terminate</b> is true, also terminate the string with <b>join</b>.
|
||||
* Requires that every element of <b>sl</b> is NUL-terminated string.
|
||||
*/
|
||||
char *smartlist_join_strings(smartlist_t *sl, const char *join, int terminate)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user