ir: validate field types on field creation
[babeltrace.git] / include / babeltrace / ctf-ir / event-types-internal.h
index 5bc46c4ee427f3753b53b93f0d1f9e02febd0e01..5a8538f4a6bb2796b36d8041c25e89e1afa12585 100644 (file)
@@ -71,6 +71,13 @@ struct bt_ctf_field_type {
         * a field has been instanciated from it.
         */
        int frozen;
+
+       /*
+        * This flag indicates if the field type is valid. A valid
+        * field type is _always_ frozen. All the nested field types of
+        * a valid field type are also valid (and thus frozen).
+        */
+       int valid;
 };
 
 struct bt_ctf_field_type_integer {
This page took 0.023677 seconds and 4 git commands to generate.