dict: add since annotations

This commit is contained in:
Mathieu Duponchelle 2018-05-22 00:17:42 +02:00
parent 5bb863c891
commit fe6fc59ee7
2 changed files with 6 additions and 1 deletions

View File

@ -1745,6 +1745,8 @@ The following methods are defined for all [dictionaries](Syntax.md#dictionaries)
You can also iterate over dictionaries with the [`foreach`
statement](Syntax.md#foreach-statements).
Dictionaries are available since 0.47.0.
## Returned objects
These are objects returned by the [functions listed above](#functions).

View File

@ -304,6 +304,8 @@ my_dict = {'foo': 42, 'foo': 43}
Dictionaries are immutable.
Dictionaries are available since 0.47.0.
Visit the [Reference Manual](Reference-manual.md#dictionary-object) to read
about the methods exposed by dictionaries.
@ -377,7 +379,8 @@ endforeach
### Foreach with a dictionary
Here's an example of you could iterate a set of components that
should be compiled in according to some configuration.
should be compiled in according to some configuration. This uses
a [dictionary][dictionaries], which is available since 0.47.0.
```meson
components = {