aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-10-12 13:52:27 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2018-10-12 22:25:40 +0300
commitb9e405c634bc7c00b604cc08934512a134337317 (patch)
tree224eb0df5437f662414db4c9f28b5418ea8d4709 /docs/markdown
parent253fcb37af3f6d853d431d06aaf75c09292342b6 (diff)
downloadmeson-b9e405c634bc7c00b604cc08934512a134337317.zip
meson-b9e405c634bc7c00b604cc08934512a134337317.tar.gz
meson-b9e405c634bc7c00b604cc08934512a134337317.tar.bz2
doc: Add missing assert() function [skip ci]
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Reference-manual.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index cc4ba9b..e4c9303 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -112,6 +112,14 @@ Note that all these options are also available while running the
`meson test` script for running tests instead of `ninja test` or
`msbuild RUN_TESTS.vcxproj`, etc depending on the backend.
+### assert()
+
+``` meson
+ void assert(*condition*, *message*)
+```
+
+Abort with an error message if `condition` evaluates to `false`.
+
### benchmark()
``` meson