lib: rename "self comp. input port message iter." -> "message iterator"
[babeltrace.git] / src / lib / graph / connection.h
index e6190fa5a500697331084db4a76b018d90949457..2024244ddf3e6884903dde8b1b9d5d4c0bf386e2 100644 (file)
@@ -25,9 +25,9 @@
  */
 
 #include <babeltrace2/graph/connection-const.h>
-#include <babeltrace2/graph/message-iterator-const.h>
 #include "lib/object.h"
 #include "common/assert.h"
+#include "common/macros.h"
 #include <stdbool.h>
 
 #include "message/iterator.h"
@@ -71,12 +71,12 @@ void bt_connection_end(struct bt_connection *conn, bool try_remove_from_graph);
 
 BT_HIDDEN
 void bt_connection_remove_iterator(struct bt_connection *conn,
-               struct bt_self_component_port_input_message_iterator *iterator);
+               struct bt_message_iterator *iterator);
 
 static inline
 struct bt_graph *bt_connection_borrow_graph(struct bt_connection *conn)
 {
-       BT_ASSERT(conn);
+       BT_ASSERT_DBG(conn);
        return (void *) conn->base.parent;
 }
 
This page took 0.027622 seconds and 4 git commands to generate.