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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:33 +0000 (11:53 -0400)
commit7d0140bc3fed079fa103e3cab75fe984fe48dbda
tree08490933f86e2da50e511b2ebb7b06e751c77dc2
parent3b7d3ccceb31e4633b4fc45db9971bf21841e953
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.026582 seconds and 4 git commands to generate.