BT_ASSERT(comp);
counter = bt_self_component_get_data(
- bt_self_component_sink_borrow_self_component(comp));
+ bt_self_component_sink_as_self_component(comp));
BT_ASSERT(counter);
try_print_last(counter);
bt_object_put_ref(counter->notif_iter);
}
bt_self_component_set_data(
- bt_self_component_sink_borrow_self_component(component),
+ bt_self_component_sink_as_self_component(component),
counter);
goto end;
struct bt_self_component_port_input_notification_iterator *iterator;
counter = bt_self_component_get_data(
- bt_self_component_sink_borrow_self_component(comp));
+ bt_self_component_sink_as_self_component(comp));
BT_ASSERT(counter);
iterator = bt_self_component_port_input_notification_iterator_create(
self_port);
bt_notification_array notifs;
counter = bt_self_component_get_data(
- bt_self_component_sink_borrow_self_component(comp));
+ bt_self_component_sink_as_self_component(comp));
BT_ASSERT(counter);
if (unlikely(!counter->notif_iter)) {