projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make BT_ASSERT_{PRE,POST}() always on; add BT_ASSERT_{PRE,POST}_DEV()
[babeltrace.git]
/
src
/
lib
/
graph
/
graph.h
diff --git
a/src/lib/graph/graph.h
b/src/lib/graph/graph.h
index ef847361e16dcd352b10abf12f3444bedcb6afb1..74c794707206e6770fa12f616ead62c74e3bfa9e 100644
(file)
--- a/
src/lib/graph/graph.h
+++ b/
src/lib/graph/graph.h
@@
-145,18
+145,12
@@
struct bt_graph {
};
static inline
};
static inline
-void
_
bt_graph_set_can_consume(struct bt_graph *graph, bool can_consume)
+void bt_graph_set_can_consume(struct bt_graph *graph, bool can_consume)
{
BT_ASSERT(graph);
graph->can_consume = can_consume;
}
{
BT_ASSERT(graph);
graph->can_consume = can_consume;
}
-#ifdef BT_DEV_MODE
-# define bt_graph_set_can_consume _bt_graph_set_can_consume
-#else
-# define bt_graph_set_can_consume(_graph, _can_consume)
-#endif
-
BT_HIDDEN
int bt_graph_consume_sink_no_check(struct bt_graph *graph,
struct bt_component_sink *sink);
BT_HIDDEN
int bt_graph_consume_sink_no_check(struct bt_graph *graph,
struct bt_component_sink *sink);
This page took
0.023686 seconds
and
4
git commands to generate.