lib: Make bt_value_null a const pointer
[babeltrace.git] / bindings / python / bt2 / bt2 / native_btport.i
index c2b9867bce92d2886b54e7fbb656afeb8eb2bf51..fef78264e8d5bb2cc768a394525ff91b03fe80ef 100644 (file)
@@ -49,7 +49,7 @@ enum bt_port_status bt_port_disconnect(struct bt_port *port);
 int bt_port_is_connected(struct bt_port *port);
 
 /* Functions (private) */
-struct bt_port *bt_port_from_private_port(struct bt_private_port *private_port);
+struct bt_port *bt_port_from_private(struct bt_private_port *private_port);
 struct bt_private_connection *bt_private_port_get_private_connection(
                struct bt_private_port *private_port);
 struct bt_private_component *bt_private_port_get_private_component(
@@ -69,8 +69,8 @@ static struct bt_notification_iterator *bt_py3_create_output_port_notif_iter(
        enum bt_notification_type *notification_types;
 
        output_port = (void *) port_addr;
-       assert(!PyErr_Occurred());
-       assert(output_port);
+       BT_ASSERT(!PyErr_Occurred());
+       BT_ASSERT(output_port);
 
        notification_types = bt_py3_notif_types_from_py_list(py_notif_types);
        notif_iter = bt_output_port_notification_iterator_create(output_port,
This page took 0.024864 seconds and 4 git commands to generate.