struct bt_component *bt_private_connection_notification_iterator_get_component(
struct bt_notification_iterator *iterator);
+/* Functions (output port) */
+struct bt_notification_iterator *bt_output_port_notification_iterator_create(
+ struct bt_port *port, const char *colander_component_name,
+ const enum bt_notification_type *notification_types);
+
/* Helper functions for Python */
%{
static PyObject *bt_py3_get_user_component_from_user_notif_iter(
priv_notif_iter);
PyObject *py_comp;
- assert(priv_comp);
+ BT_ASSERT(priv_comp);
py_comp = bt_private_component_get_user_data(priv_comp);
bt_put(priv_comp);
- assert(py_comp);
+ BT_ASSERT(py_comp);
/* Return new reference */
Py_INCREF(py_comp);