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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:07:36 +0000 (00:07 -0400)
commitc800eb3790218d2f33df01e77ec38cbd43cc02a1
tree0bdf5c7419e1a4e8c5e95e9b4dc04df3337fe7a0
parentc2888a2b9f644c9da6fec019db4c44fe8cb6e3be
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.023925 seconds and 4 git commands to generate.