2 * SPDX-License-Identifier: MIT
4 * Copyright 2019 Philippe Proulx <pproulx@efficios.com>
6 * The Common Trace Format (CTF) Specification is available at
7 * http://www.efficios.com/ctf
10 #ifndef BABELTRACE_INTEGER_RANGE_SET_INTERNAL_H
11 #define BABELTRACE_INTEGER_RANGE_SET_INTERNAL_H
15 #include <babeltrace2/babeltrace.h>
19 #define BT_INTEGER_RANGE_SET_RANGE_AT_INDEX(_rs, _index) \
20 (&g_array_index((_rs)->ranges, struct bt_integer_range, (_index)))
22 struct bt_integer_range
{
33 struct bt_integer_range_set
{
34 struct bt_object base
;
36 /* Array of `struct bt_integer_range` */
43 void _bt_integer_range_set_freeze(const struct bt_integer_range_set
*range_set
);
46 # define bt_integer_range_set_freeze _bt_integer_range_set_freeze
48 # define bt_integer_range_set_freeze(_sc)
52 bool bt_integer_range_set_unsigned_has_overlaps(
53 const struct bt_integer_range_set
*range_set
);
56 bool bt_integer_range_set_signed_has_overlaps(
57 const struct bt_integer_range_set
*range_set
);
59 #endif /* BABELTRACE_INTEGER_RANGE_SET_INTERNAL_H */
This page took 0.036814 seconds and 4 git commands to generate.