lib: internal: define `BT_ASSERT_{PRE,POST}_SUPPORTED` in headers
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 28 Jun 2019 20:45:01 +0000 (16:45 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 29 Jun 2019 06:04:08 +0000 (02:04 -0400)
commitce53ba7aa47854de310cd47b9553a2ae8ff32aee
tree46d2cd59687785ba17e6060e1dcc8e8b1f1d9164
parentf6f301d78f17061caca68a882f25bff0a53d00b3
lib: internal: define `BT_ASSERT_{PRE,POST}_SUPPORTED` in headers

This is to make some headers require that precondition and postcondition
assertion macros exist when including them, just like
`src/lib/logging.h` defines `BT_LIB_LOG_SUPPORTED` for the same reason.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ia2db609ae540b29129b9260c237f8b8d9657d977
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1576
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/lib/assert-post.h
src/lib/assert-pre.h
This page took 0.024524 seconds and 4 git commands to generate.