Replace assert() -> BT_ASSERT() and some preconditions with BT_ASSERT_PRE()
[babeltrace.git] / bindings / python / bt2 / bt2 / native_btconnection.i
index db54a91ca155cdb26f22fb35ee0602dd7f915eba..7e6195c1dec5a16891c911c68f60abc5ca670e72 100644 (file)
@@ -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.024271 seconds and 4 git commands to generate.