assert-pre-internal.h: add BT_ASSERT_PRE_VALID_INDEX()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 23 Aug 2018 15:42:52 +0000 (11:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:35 +0000 (18:19 -0400)
commitba9db19a3781d09c3aa7bd1b723fe651e4272b9b
treebe82c847fe411a48bf2f0ca31dfba81d34e14a71
parent72f3da6dedd06d56613466efbd6492b50c907ab4
assert-pre-internal.h: add BT_ASSERT_PRE_VALID_INDEX()

This new precondition assertion macro asserts that a given index is less
than a given length.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
include/babeltrace/assert-pre-internal.h
This page took 0.024705 seconds and 4 git commands to generate.