lib: add "borrow" functions where "get" functions exist
[babeltrace.git] / include / babeltrace / ctf-ir / attributes-internal.h
index b820a70d53f08949a27fae2d48dba3fe95037fa8..d7dda55eddb97fb9162bf926c30c83c035e39312 100644 (file)
@@ -50,7 +50,7 @@ const char *bt_attributes_get_field_name(struct bt_value *attr_obj,
                uint64_t index);
 
 BT_HIDDEN
-struct bt_value *bt_attributes_get_field_value(struct bt_value *attr_obj,
+struct bt_value *bt_attributes_borrow_field_value(struct bt_value *attr_obj,
                uint64_t index);
 
 BT_HIDDEN
@@ -58,7 +58,7 @@ int bt_attributes_set_field_value(struct bt_value *attr_obj,
                const char *name, struct bt_value *value_obj);
 
 BT_HIDDEN
-struct bt_value *bt_attributes_get_field_value_by_name(
+struct bt_value *bt_attributes_borrow_field_value_by_name(
                struct bt_value *attr_obj, const char *name);
 
 BT_HIDDEN
This page took 0.023599 seconds and 4 git commands to generate.