lib: Make bt_value_null a const pointer
[deliverable/babeltrace.git] / bindings / python / bt2 / bt2 / native_btnotifiter.i
index 13cc9987ebebd7f224b4c98c1372b6c03a408a01..320e2e95c781417af2c80b6789cee4b6ae1ee2d2 100644 (file)
@@ -47,6 +47,11 @@ enum bt_notification_iterator_status bt_notification_iterator_next(
 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(
@@ -57,10 +62,10 @@ 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);
This page took 0.026164 seconds and 5 git commands to generate.