2 * SPDX-License-Identifier: MIT
4 * Copyright (c) 2019 Philippe Proulx <pproulx@efficios.com>
7 #ifndef BABELTRACE_GRAPH_INTERRUPTER_INTERNAL_H
8 #define BABELTRACE_GRAPH_INTERRUPTER_INTERNAL_H
13 #include <babeltrace2/babeltrace.h>
15 #include "lib/object.h"
17 struct bt_interrupter
{
18 struct bt_object base
;
23 bool bt_interrupter_array_any_is_set(const GPtrArray
*interrupters
)
28 BT_ASSERT_DBG(interrupters
);
30 for (i
= 0; i
< interrupters
->len
; i
++) {
31 const struct bt_interrupter
*intr
= interrupters
->pdata
[i
];
43 #endif /* BABELTRACE_GRAPH_INTERRUPTER_INTERNAL_H */
This page took 0.030995 seconds and 4 git commands to generate.