lib: rename `bt_*_compare()` to `bt_*_is_equal()`
[babeltrace.git] / include / babeltrace2 / value-const.h
index 67c05795cf126cca9f60554f744c37b46afb9c71..4ac17cb083ce0c1658c8cbd591960dff475e4665 100644 (file)
@@ -120,7 +120,7 @@ typedef enum bt_value_copy_status {
 extern bt_value_copy_status bt_value_copy(const bt_value *object,
                bt_value **copy);
 
-extern bt_bool bt_value_compare(const bt_value *object_a,
+extern bt_bool bt_value_is_equal(const bt_value *object_a,
                const bt_value *object_b);
 
 extern bt_bool bt_value_bool_get(const bt_value *bool_obj);
@@ -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(
This page took 0.024149 seconds and 4 git commands to generate.