diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2018-10-12 13:52:27 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-10-12 22:25:40 +0300 |
commit | b9e405c634bc7c00b604cc08934512a134337317 (patch) | |
tree | 224eb0df5437f662414db4c9f28b5418ea8d4709 | |
parent | 253fcb37af3f6d853d431d06aaf75c09292342b6 (diff) | |
download | meson-b9e405c634bc7c00b604cc08934512a134337317.zip meson-b9e405c634bc7c00b604cc08934512a134337317.tar.gz meson-b9e405c634bc7c00b604cc08934512a134337317.tar.bz2 |
doc: Add missing assert() function [skip ci]
-rw-r--r-- | docs/markdown/Reference-manual.md | 8 |
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 |