X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace2%2Fvalue-const.h;h=f9a1d3d093cad57badc49151f8a4fc083e889f4b;hb=d23b766e7b7542ddff2211264b4ece1f3a347773;hp=67c05795cf126cca9f60554f744c37b46afb9c71;hpb=9b4f9b425f2efce9a6ccc25f7ae062ebc1116a7d;p=babeltrace.git diff --git a/include/babeltrace2/value-const.h b/include/babeltrace2/value-const.h index 67c05795..f9a1d3d0 100644 --- a/include/babeltrace2/value-const.h +++ b/include/babeltrace2/value-const.h @@ -133,12 +133,12 @@ extern double bt_value_real_get(const bt_value *real_obj); extern const char *bt_value_string_get(const bt_value *string_obj); -extern uint64_t bt_value_array_get_size(const bt_value *array_obj); +extern uint64_t bt_value_array_get_length(const bt_value *array_obj); static inline bt_bool bt_value_array_is_empty(const bt_value *array_obj) { - return bt_value_array_get_size(array_obj) == 0; + return bt_value_array_get_length(array_obj) == 0; } extern const bt_value *bt_value_array_borrow_element_by_index_const(