lib: put __BT_UPCAST() and __BT_UPCAST_CONST() in `babeltrace.h`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Jul 2019 06:15:51 +0000 (02:15 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Jul 2019 15:25:15 +0000 (11:25 -0400)
commit06b2c29428b48f3c12564b5c26590d11f7482a97
tree53aa5b485c88ba5892881c0374dcbe816541a19e
parent217cf9d33a3ffc88e6eeaf21f3d46ee00cbeb0c4
lib: put __BT_UPCAST() and __BT_UPCAST_CONST() in `babeltrace.h`

This makes it possible to clear those macros at the end of
`babeltrace.h`. This is safe because each public header is guaranteed to
be included from `babeltrace.h`.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ib030f70869b48e76bd78a91be55e581aeb3f3435
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1676
Tested-by: jenkins <jenkins@lttng.org>
include/babeltrace2/babeltrace.h
include/babeltrace2/types.h
This page took 0.027566 seconds and 4 git commands to generate.