projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Collect useless graph's connections
[babeltrace.git]
/
lib
/
graph
/
graph.c
diff --git
a/lib/graph/graph.c
b/lib/graph/graph.c
index ab6b14cfb047c296d0db4183932220525ee4c0ec..34e832ad4c3a456c41e15f4404ee95ff8687d4e4 100644
(file)
--- a/
lib/graph/graph.c
+++ b/
lib/graph/graph.c
@@
-782,3
+782,12
@@
extern bt_bool bt_graph_is_canceled(struct bt_graph *graph)
{
return graph ? graph->canceled : BT_FALSE;
}
{
return graph ? graph->canceled : BT_FALSE;
}
+
+BT_HIDDEN
+void bt_graph_remove_connection(struct bt_graph *graph,
+ struct bt_connection *connection)
+{
+ assert(graph);
+ assert(connection);
+ g_ptr_array_remove(graph->connections, connection);
+}
This page took
0.028243 seconds
and
4
git commands to generate.