Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
}
BT_HIDDEN
-int bt_ctf_field_type_variant_set_tag(struct bt_ctf_field_type *type,
+int bt_ctf_field_type_variant_set_tag_field_type(struct bt_ctf_field_type *type,
struct bt_ctf_field_type *tag)
{
int ret = 0;
target_field_path = NULL;
- ret = bt_ctf_field_type_variant_set_tag(type, target_type);
+ ret = bt_ctf_field_type_variant_set_tag_field_type(
+ type, target_type);
if (ret) {
_printf_error("Cannot set variant field type's tag field type\n");
goto end;
struct bt_ctf_field_type *type);
BT_HIDDEN
-int bt_ctf_field_type_variant_set_tag(struct bt_ctf_field_type *type,
- struct bt_ctf_field_type *tag);
+int bt_ctf_field_type_variant_set_tag_field_type(struct bt_ctf_field_type *type,
+ struct bt_ctf_field_type *tag_type);
/* Replace an existing field's type in a variant */
BT_HIDDEN