From b21fd95f737ab96f57c45e15a1d89d5c483daec8 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 26 May 2019 12:31:43 -0600 Subject: Add is_disabler function This is useful if one needs to check if a variable is a disabler. Signed-off-by: James Hilliard --- docs/markdown/Reference-manual.md | 8 ++++++++ docs/markdown/Release-notes-for-0.52.0.md | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 docs/markdown/Release-notes-for-0.52.0.md (limited to 'docs/markdown') diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 6be3ed7..a89d939 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1061,6 +1061,14 @@ share/ file1 ``` +### is_disabler() + +``` meson + bool is_disabler(var) +``` + +Returns true if a variable is a disabler and false otherwise. Added in 0.52.0. + ### is_variable() ``` meson diff --git a/docs/markdown/Release-notes-for-0.52.0.md b/docs/markdown/Release-notes-for-0.52.0.md new file mode 100644 index 0000000..c36758a --- /dev/null +++ b/docs/markdown/Release-notes-for-0.52.0.md @@ -0,0 +1,11 @@ +--- +title: Release 0.52.0 +short-description: Release notes for 0.52.0 +... + +# New features + +## Allow checking if a variable is a disabler + +Added the function `is_disabler(var)`. Returns true if a variable is a disabler +and false otherwise. -- cgit v1.1