#include "lib/assert-post.h"
#include <stdint.h>
#include <inttypes.h>
+#include <stdbool.h>
#include <stdlib.h>
#include "component-class.h"
/* Finalizing */
BT_LIB_LOGF("Message iterator is already being finalized: "
"%!+i", iterator);
- abort();
+ bt_common_abort();
default:
break;
}
}
default:
/* Unreachable */
- abort();
+ bt_common_abort();
}
if (method) {
break;
}
default:
- abort();
+ bt_common_abort();
}
if (iterator->methods.seek_ns_from_origin &&
}
default:
/* Unreachable */
- abort();
+ bt_common_abort();
}
if (init_method) {
goto end;
default:
/* Unknown non-error status */
- abort();
+ bt_common_abort();
}
end:
return iterator->upstream_component;
}
-const struct bt_component *
-bt_self_component_port_input_message_iterator_borrow_component_const(
- const struct bt_self_component_port_input_message_iterator *iterator)
-{
- BT_ASSERT_PRE_DEV_NON_NULL(iterator, "Message iterator");
- return iterator->upstream_component;
-}
-
struct bt_self_component *bt_self_message_iterator_borrow_component(
struct bt_self_message_iterator *self_iterator)
{
new_state = BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_ENDED;
break;
default:
- abort();
+ bt_common_abort();
}
set_self_comp_port_input_msg_iterator_state(iterator, new_state);
break;
}
default:
- abort();
+ bt_common_abort();
}
BT_ASSERT_DBG(clk_snapshot);
case BT_FUNC_STATUS_END:
goto end;
default:
- abort();
+ bt_common_abort();
}
for (i = 0; i < user_count; i++) {
case BT_FUNC_STATUS_AGAIN:
goto end;
default:
- abort();
+ bt_common_abort();
}
/*
case BT_FUNC_STATUS_AGAIN:
goto end;
default:
- abort();
+ bt_common_abort();
}
}