projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: rename `bt_*_compare()` to `bt_*_is_equal()`
[babeltrace.git]
/
include
/
babeltrace2
/
value-const.h
diff --git
a/include/babeltrace2/value-const.h
b/include/babeltrace2/value-const.h
index 67c05795cf126cca9f60554f744c37b46afb9c71..4ac17cb083ce0c1658c8cbd591960dff475e4665 100644
(file)
--- a/
include/babeltrace2/value-const.h
+++ b/
include/babeltrace2/value-const.h
@@
-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_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);
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 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)
{
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(
}
extern const bt_value *bt_value_array_borrow_element_by_index_const(
This page took
0.024089 seconds
and
4
git commands to generate.