Remove alias getter from IR field interface
[babeltrace.git] / formats / ctf / ir / event-types.c
index 94723f2b7724e00c4a7ce0f86569e913690e9a9a..5c091bc76896c210883487dff71b810ba7929995 100644 (file)
@@ -358,9 +358,6 @@ void bt_ctf_field_type_destroy(struct bt_ctf_ref *ref)
                return;
        }
 
-       if (type->alias_name) {
-               g_string_free(type->alias_name, TRUE);
-       }
        type_destroy_funcs[type_id](ref);
 }
 
@@ -1780,20 +1777,6 @@ enum ctf_type_id bt_ctf_field_type_get_type_id(
        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) {
This page took 0.024106 seconds and 4 git commands to generate.