lib: Make bt_value_null a const pointer
[deliverable/babeltrace.git] / bindings / python / bt2 / bt2 / native_btconnection.i
index 2432549f5d6f09f0af292d4a015292ba45ce3df1..7e6195c1dec5a16891c911c68f60abc5ca670e72 100644 (file)
@@ -44,7 +44,7 @@ struct bt_port *bt_connection_get_upstream_port(
 int bt_connection_is_ended(struct bt_connection *connection);
 
 /* Functions (private) */
-struct bt_connection *bt_connection_from_private_connection(
+struct bt_connection *bt_connection_from_private(
                struct bt_private_connection *private_connection);
 
 /* Helper functions for Python */
@@ -72,8 +72,8 @@ static struct bt_py3_create_notif_iter_ret bt_py3_create_priv_conn_notif_iter(
        struct bt_py3_create_notif_iter_ret ret;
 
        priv_conn = (void *) priv_conn_addr;
-       assert(!PyErr_Occurred());
-       assert(priv_conn);
+       BT_ASSERT(!PyErr_Occurred());
+       BT_ASSERT(priv_conn);
 
        notification_types = bt_py3_notif_types_from_py_list(py_notif_types);
        ret.status = bt_private_connection_create_notification_iterator(
This page took 0.02832 seconds and 5 git commands to generate.