I/O structures accessors generation (work in progress)
[babeltrace.git] / include / babeltrace / types.h
index cee6c5a3c4ef2995e17d00d9459488225b5e5632..e8480122f9d42afde41d88e09373482e3bcc368a 100644 (file)
@@ -101,7 +101,21 @@ struct declaration_scope {
        struct declaration_scope *parent_scope;
 };
 
+enum ctf_type_id {
+       CTF_TYPE_UNKNOWN = 0,
+       CTF_TYPE_INTEGER,
+       CTF_TYPE_FLOAT,
+       CTF_TYPE_ENUM,
+       CTF_TYPE_STRING,
+       CTF_TYPE_STRUCT,
+       CTF_TYPE_VARIANT,
+       CTF_TYPE_ARRAY,
+       CTF_TYPE_SEQUENCE,
+       NR_CTF_TYPES,
+};
+
 struct type {
+       enum ctf_type_id id;
        GQuark name;            /* type name */
        size_t alignment;       /* type alignment, in bits */
        int ref;                /* number of references to the type */
This page took 0.02298 seconds and 4 git commands to generate.