diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-06-09 17:58:49 -0400 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2023-06-20 16:10:20 -0700 |
commit | 6f2956e76c58c49b12298fbf144399c41c380520 (patch) | |
tree | e8f41059b9dee8d00f133236572f124851f7f706 /docs | |
parent | be20e0809f3cee518a49f4c22ce3ca19319ebb33 (diff) | |
download | meson-6f2956e76c58c49b12298fbf144399c41c380520.zip meson-6f2956e76c58c49b12298fbf144399c41c380520.tar.gz meson-6f2956e76c58c49b12298fbf144399c41c380520.tar.bz2 |
interpreter: Accept more types in default_options dict values
Diffstat (limited to 'docs')
-rw-r--r-- | docs/yaml/functions/_build_target_base.yaml | 2 | ||||
-rw-r--r-- | docs/yaml/functions/dependency.yaml | 2 | ||||
-rw-r--r-- | docs/yaml/functions/project.yaml | 2 | ||||
-rw-r--r-- | docs/yaml/functions/subproject.yaml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml index f863288..79924d8 100644 --- a/docs/yaml/functions/_build_target_base.yaml +++ b/docs/yaml/functions/_build_target_base.yaml @@ -228,7 +228,7 @@ kwargs: Set this to `[]`, or omit the keyword argument for the default behaviour. override_options: - type: list[str] | dict[str] + type: list[str] | dict[str | bool | int | list[str]] since: 0.40.0 description: | takes an array of strings in the same format as `project`'s `default_options` diff --git a/docs/yaml/functions/dependency.yaml b/docs/yaml/functions/dependency.yaml index 6a628bd..5ae1634 100644 --- a/docs/yaml/functions/dependency.yaml +++ b/docs/yaml/functions/dependency.yaml @@ -78,7 +78,7 @@ varargs: kwargs: default_options: - type: list[str] | dict[str] + type: list[str] | dict[str | bool | int | list[str]] since: 0.38.0 description: | An array of default option values diff --git a/docs/yaml/functions/project.yaml b/docs/yaml/functions/project.yaml index 6eb7adc..5be8cac 100644 --- a/docs/yaml/functions/project.yaml +++ b/docs/yaml/functions/project.yaml @@ -38,7 +38,7 @@ varargs: kwargs: default_options: - type: list[str] | dict[str] + type: list[str] | dict[str | bool | int | list[str]] description: | Accepts strings in the form `key=value` which have the same format as options to `meson configure`. diff --git a/docs/yaml/functions/subproject.yaml b/docs/yaml/functions/subproject.yaml index 3017c20..bccac79 100644 --- a/docs/yaml/functions/subproject.yaml +++ b/docs/yaml/functions/subproject.yaml @@ -42,7 +42,7 @@ posargs: kwargs: default_options: - type: list[str] | dict[str] + type: list[str] | dict[str | bool | int | list[str]] since: 0.37.0 description: | An array of default option values |