mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Merge branch 'wip/smcv/decompiler-order' into 'main'
gi-decompile-typelib: Interpret --includedir as most-important-first See merge request GNOME/glib!3928
This commit is contained in:
@@ -85,8 +85,13 @@ main (int argc, char *argv[])
|
||||
repository = gi_repository_new ();
|
||||
|
||||
if (includedirs != NULL)
|
||||
for (i = 0; includedirs[i]; i++)
|
||||
gi_repository_prepend_search_path (repository, includedirs[i]);
|
||||
{
|
||||
guint n = g_strv_length (includedirs);
|
||||
guint j;
|
||||
|
||||
for (j = 1; j <= n; j++)
|
||||
gi_repository_prepend_search_path (repository, includedirs[n - j]);
|
||||
}
|
||||
|
||||
for (i = 0; input[i]; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user