projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: use common precond. assert. macros from `assert-cond.h` thru lib
[babeltrace.git]
/
src
/
lib
/
graph
/
component-sink.c
diff --git
a/src/lib/graph/component-sink.c
b/src/lib/graph/component-sink.c
index d89b7283b13da459892080df29b7c8fc871bccde..d9d33cc9ab205c6a5de9e7722c10f25e1c8e7e16 100644
(file)
--- a/
src/lib/graph/component-sink.c
+++ b/
src/lib/graph/component-sink.c
@@
-51,7
+51,7
@@
bt_component_sink_borrow_class_const(
{
struct bt_component_class *cls;
{
struct bt_component_class *cls;
- BT_ASSERT_PRE_DEV_
NON_NULL(component, "Component"
);
+ BT_ASSERT_PRE_DEV_
COMP_NON_NULL(component
);
cls = component->parent.class;
cls = component->parent.class;
@@
-135,7
+135,7
@@
bt_bool bt_self_component_sink_is_interrupted(
{
struct bt_component *comp = (void *) self_comp;
{
struct bt_component *comp = (void *) self_comp;
- BT_ASSERT_PRE_
NON_NULL(comp, "Component"
);
+ BT_ASSERT_PRE_
COMP_NON_NULL(comp
);
return (bt_bool) bt_graph_is_interrupted(
bt_component_borrow_graph(comp));
}
return (bt_bool) bt_graph_is_interrupted(
bt_component_borrow_graph(comp));
}
This page took
0.024096 seconds
and
4
git commands to generate.