mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
gi-decompile-typelib: Interpret --includedir as most-important-first
This is a behaviour change from g-ir-generate, which treats it as least-important-first (the last directory on the command-line is searched first). gi-compile-repository --includedir and gcc -I are most-important-first (the first directory on the command-line is searched first) so it seems like it makes most sense to be consistent with that. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -91,6 +91,12 @@ your code if integer type warnings are enabled.
|
||||
| `g-ir-generate` | `gi-decompile-typelib` |
|
||||
| `g-ir-inspect` | `gi-inspect-typelib` |
|
||||
|
||||
In addition, the `--version` option for `g-ir-inspect` has been renamed to
|
||||
In addition, some command-line options have been changed.
|
||||
|
||||
The `--version` option for `g-ir-inspect` has been renamed to
|
||||
`--typelib-version` in `gi-inspect-typelib`.
|
||||
|
||||
The `--includedir` option to `gi-decompile-typelib` treats the
|
||||
given directories as most-important-first, consistent with
|
||||
`gi-compile-repository --includedir` and `gcc -I`.
|
||||
`g-ir-generate` treated `--includedir` options as least-important-first.
|
||||
|
Reference in New Issue
Block a user