lib: rename "self comp. input port message iter." -> "message iterator"
[babeltrace.git] / src / lib / graph / message / message-iterator-inactivity.c
index 71afff63062d40d39a0a4050d8912a01eeb005b4..94964019fd86f2056402a05f56c0960430708d97 100644 (file)
@@ -56,11 +56,12 @@ struct bt_message *bt_message_message_iterator_inactivity_create(
                const struct bt_clock_class *default_clock_class,
                uint64_t value_cycles)
 {
-       struct bt_self_component_port_input_message_iterator *msg_iter =
+       struct bt_message_iterator *msg_iter =
                (void *) self_msg_iter;
        struct bt_message_message_iterator_inactivity *message;
        struct bt_message *ret_msg = NULL;
 
+       BT_ASSERT_PRE_DEV_NO_ERROR();
        BT_ASSERT_PRE_NON_NULL(msg_iter, "Message iterator");
        BT_ASSERT_PRE_NON_NULL(default_clock_class, "Default clock class");
        BT_LIB_LOGD("Creating message iterator inactivity message object: "
@@ -101,7 +102,8 @@ bt_message_message_iterator_inactivity_borrow_default_clock_snapshot_const(
 {
        struct bt_message_message_iterator_inactivity *inactivity = (void *) msg;
 
-       BT_ASSERT_PRE_NON_NULL(msg, "Message");
-       BT_ASSERT_PRE_MSG_IS_TYPE(msg, BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
+       BT_ASSERT_PRE_DEV_NON_NULL(msg, "Message");
+       BT_ASSERT_PRE_DEV_MSG_IS_TYPE(msg,
+               BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
        return inactivity->default_cs;
 }
This page took 0.032761 seconds and 4 git commands to generate.