buildPathv

fnstring buildPathv(string separator, string[] args)

Behaves exactly like [glib.global.buildPath], but takes the path elements as a string array, instead of variadic arguments.

This function is mainly meant for language bindings.

Parameters

separatora string used to separator the elements of the path.
argsnull-terminated array of strings containing the path elements.

Returns

a newly-allocated string that

must be freed with [glib.global.gfree].