diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-01-14 15:13:47 -0500 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2022-01-15 23:50:14 +0530 |
commit | 96d000574450ed0a7a0589a069938b0f0dc5c05b (patch) | |
tree | eca1ee208de6670352a3fcacbbd36abc8c94bb7c /docs | |
parent | f3a8e5d3b26410a3492952487a17909be0bfb217 (diff) | |
download | meson-96d000574450ed0a7a0589a069938b0f0dc5c05b.zip meson-96d000574450ed0a7a0589a069938b0f0dc5c05b.tar.gz meson-96d000574450ed0a7a0589a069938b0f0dc5c05b.tar.bz2 |
gnome.genmarshal: restore the ability to pass sources as Files objects
It used to support:
- a single string
- an array of anything
And as long as CustomTarget supported it too, everything worked fine.
So, a `files('foo')` worked but a `files('foo')[0]` did not, which is
silly... and it's not exactly terrible to use files() here, the input is
literally a list of source files.
Fixes building gnome-terminal
Fixes #9827
Test updated by Nirbheek Chauhan <nirbheek@centricular.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Gnome-module.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md index 1bcf15d..616562a 100644 --- a/docs/markdown/Gnome-module.md +++ b/docs/markdown/Gnome-module.md @@ -133,8 +133,7 @@ argument is the basename of the output files. * `nostdinc`: if true, don't include the standard marshallers from glib * `prefix`: the prefix to use for symbols * `skip_source`: if true, skip source location comments -* `sources` []str *required*: List of string sources to consume -* `sources`: the list of sources to use as inputs +* `sources` [](str | File) *required*: the list of sources to use as inputs * `stdinc`: if true, include the standard marshallers from glib * `valist_marshallers`: if true, generate va_list marshallers |