From 9f02d0a3e5a5ffc82256391c244b1af38e41ef78 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 5 Apr 2024 08:55:20 -0700 Subject: Clarify mutable objects usage Only Environment and ConfigurationData are mutable. However, only ConfigurationData becomes immutable after first use which is inconsistent. This deprecates modification after first use of Environment object and clarify documentation. --- docs/markdown/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/markdown/Configuration.md') diff --git a/docs/markdown/Configuration.md b/docs/markdown/Configuration.md index 48f071e6c..b5875e55e 100644 --- a/docs/markdown/Configuration.md +++ b/docs/markdown/Configuration.md @@ -39,7 +39,7 @@ use a single `configuration_data` object as many times as you like, but it becomes immutable after being passed to the `configure_file` function. That is, after it has been used once to generate output the `set` function becomes unusable and trying to call it causes an error. -Copy of immutable `configuration_data` is still immutable. +*Since 1.5.0* Copy of immutable `configuration_data` is however mutable. For more complex configuration file generation Meson provides a second form. To use it, put a line like this in your configuration file. -- cgit v1.2.3