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);
}
plugin_count,
NULL,
bt_python_bindings_bt2_log_level,
- &auto_disc);
+ &auto_disc,
+ NULL);
if (status != 0) {
BT_CURRENT_THREAD_ERROR_APPEND_CAUSE_FROM_UNKNOWN(module_name,
"Failed to auto discover sources.");