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 */
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(