-#define BT_ASSERT_PRE_FC_HAS_ID(_fc, _id, _name) \
- BT_ASSERT_PRE(((struct bt_field_class *) (_fc))->id == (_id), \
- _name " has the wrong ID: expected-id=%s, " \
- "%![fc-]+F", bt_common_field_class_id_string(_id), (_fc))
+#define BT_ASSERT_PRE_FC_HAS_ID(_fc, _type, _name) \
+ BT_ASSERT_PRE(((struct bt_field_class *) (_fc))->type == (_type), \
+ _name " has the wrong type: expected-type=%s, " \
+ "%![fc-]+F", bt_common_field_class_type_string(_type), (_fc))