Function

GLib-2.0GLibbuild_filenamevSince 2.8

  • Creates a filename from a vector of elements using the correct separator for the current platform.

    This function behaves exactly like g_build_filename(), but takes the path elements as a string array, instead of varargs. This function is mainly meant for language bindings.

    If you are building a path programmatically you may want to use GLib.PathBuf instead.

    Parameters

    • args: string[]

      null-terminated array of strings containing the path elements.

    Returns string

    the newly allocated path

    2.8