Function

GLib-2.0GLibbuild_pathvSince 2.8

  • Behaves exactly like g_build_path(), but takes the path elements as a string array, instead of variadic arguments.

    This function is mainly meant for language bindings.

    Parameters

    • separator: string

      a string used to separate the elements of the path.

    • args: string[]

      null-terminated array of strings containing the path elements.

    Returns string

    a newly-allocated string that must be freed with g_free().

    2.8