svn_cstring_join2

Function svn_cstring_join2 

Source
pub unsafe extern "C" fn svn_cstring_join2(
    strings: *const apr_array_header_t,
    separator: *const c_char,
    trailing_separator: svn_boolean_t,
    pool: *mut apr_pool_t,
) -> *mut c_char
Expand description

Return a cstring which is the concatenation of @a strings (an array of char *) joined by @a separator. Allocate the result in @a pool. If @a strings is empty, then return the empty string. If @a trailing_separator is non-zero, also append the separator after the last joined element.

@since New in 1.10.