Debian Codegraph @

subprojects/meson-docs/docs/yaml/functions/configuration_data.yaml

raw
1 name: configuration_data
2 returns: cfg_data
3 description: |
4 Creates an empty configuration object. You should add your
5 configuration with the [[@cfg_data]] method calls and
6 finally use it in a call to [[configure_file]].
7
8 optargs:
9 data:
10 type: dict[str | bool | int]
11 since: 0.49.0
12 description: |
13 Optional dictionary to specify an initial data set. If
14 provided, each key/value pair is added into the [[@cfg_data]] object
15 as if the [[cfg_data.set]] method was called for each of them.