GArray *ranges;
};
+struct bt_field_class_unsigned_enumeration_mapping;
+struct bt_field_class_signed_enumeration_mapping;
+
struct bt_field_class_enumeration {
struct bt_field_class_integer common;
/* Owned by this */
struct bt_field_class *fc;
+
+ bool frozen;
};
+struct bt_field_class_structure_member;
+struct bt_field_class_variant_option;
+
/*
* This is the base field class for a container of named field classes.
* Structure and variant field classes inherit this.
#ifdef BT_DEV_MODE
# define bt_field_class_freeze _bt_field_class_freeze
#else
-# define bt_field_class_freeze(_fc)
+# define bt_field_class_freeze(_fc) ((void) _fc)
+#endif
+
+BT_HIDDEN
+void _bt_named_field_class_freeze(const struct bt_named_field_class *named_fc);
+
+#ifdef BT_DEV_MODE
+# define bt_named_field_class_freeze _bt_named_field_class_freeze
+#else
+# define bt_named_field_class_freeze(_named_fc) ((void) _named_fc)
#endif
/*