X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fctf-ir%2Ffield-types-internal.h;h=d248797f549c589d551f9e8efc3a4ce5828501f7;hb=830017b03f9cded62c199b077fb2e18935f8e2ee;hp=18ddee65da24dbe614424d4998e5f225453beb6e;hpb=abd69417bcbf0c66afc5f94c2164397f8df7915f;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/field-types-internal.h b/include/babeltrace/ctf-ir/field-types-internal.h index 18ddee65..d248797f 100644 --- a/include/babeltrace/ctf-ir/field-types-internal.h +++ b/include/babeltrace/ctf-ir/field-types-internal.h @@ -41,20 +41,6 @@ typedef void (*type_freeze_func)(struct bt_ctf_field_type *); typedef int (*type_serialize_func)(struct bt_ctf_field_type *, struct metadata_context *); -enum bt_ctf_type_id { - BT_CTF_TYPE_ID_UNKNOWN = CTF_TYPE_UNKNOWN, - BT_CTF_TYPE_ID_INTEGER = CTF_TYPE_INTEGER, - BT_CTF_TYPE_ID_FLOAT = CTF_TYPE_FLOAT, - BT_CTF_TYPE_ID_ENUM = CTF_TYPE_ENUM, - BT_CTF_TYPE_ID_STRING = CTF_TYPE_STRING, - BT_CTF_TYPE_ID_STRUCT = CTF_TYPE_STRUCT, - BT_CTF_TYPE_ID_UNTAGGED_VARIANT = CTF_TYPE_UNTAGGED_VARIANT, - BT_CTF_TYPE_ID_VARIANT = CTF_TYPE_VARIANT, - BT_CTF_TYPE_ID_ARRAY = CTF_TYPE_ARRAY, - BT_CTF_TYPE_ID_SEQUENCE = CTF_TYPE_SEQUENCE, - BT_CTF_NR_TYPE_IDS, -}; - enum bt_ctf_ir_scope { BT_CTF_SCOPE_UNKNOWN = -1, BT_CTF_SCOPE_ENV = 0, @@ -728,7 +714,7 @@ int bt_ctf_field_type_compare(struct bt_ctf_field_type *type_a, * Returns the field type's bt_ctf_type_id, CTF_TYPE_UNKNOWN on error. */ BT_HIDDEN -enum bt_ctf_type_id bt_ctf_field_type_get_type_id( +enum ctf_type_id bt_ctf_field_type_get_type_id( struct bt_ctf_field_type *type); /*