return;
}
- if (type->alias_name) {
- g_string_free(type->alias_name, TRUE);
- }
type_destroy_funcs[type_id](ref);
}
return type->declaration->id;
}
-const char *bt_ctf_field_type_get_alias_name(
- struct bt_ctf_field_type *type)
-{
- const char *name = NULL;
-
- if (!type || !type->alias_name) {
- goto end;
- }
-
- name = type->alias_name->str;
-end:
- return name;
-}
-
void bt_ctf_field_type_get(struct bt_ctf_field_type *type)
{
if (!type) {