lib: rename bt_value_array_get_size() -> bt_value_array_get_length()
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_autodisc.i.h
index e09f54e768b803f713e82380fb44c8a4395be3d1..eb386610841f4dfe5d570bafe9d2edea1d92386f 100644 (file)
@@ -62,7 +62,7 @@ bt_value *bt_bt2_auto_discover_source_components(const bt_value *inputs,
        bt_value_map_insert_entry_status insert_entry_status;
 
        BT_ASSERT(bt_value_get_type(inputs) == BT_VALUE_TYPE_ARRAY);
-       for (i = 0; i < bt_value_array_get_size(inputs); i++) {
+       for (i = 0; i < bt_value_array_get_length(inputs); i++) {
                const bt_value *elem = bt_value_array_borrow_element_by_index_const(inputs, i);
                BT_ASSERT(bt_value_get_type(elem) == BT_VALUE_TYPE_STRING);
        }
This page took 0.023198 seconds and 4 git commands to generate.