Function

GLib-2.0GLibtest_get_dirSince 2.38

  • Gets the pathname of the directory containing test files of the type specified by file_type.

    This is approximately the same as calling g_test_build_filename("."), but you don't need to free the return value.

    Parameters

    • file_type: TestFileType

      the type of file (built vs. distributed)

    Returns string

    the path of the directory, owned by GLib

    2.38