const struct bt_field_class_bit_array *ba_fc = (const void *) fc;
BT_ASSERT_PRE_DEV_FC_NON_NULL(fc);
+ BT_ASSERT_PRE_DEV_FC_MIP_VERSION_GE(fc, 1);
BT_ASSERT_PRE_DEV_FC_HAS_TYPE("field-class", fc, "bit-array",
BT_FIELD_CLASS_TYPE_BIT_ARRAY, "Field class");
return ba_fc->flags->len;
BT_ASSERT_PRE_NO_ERROR();
BT_ASSERT_PRE_FC_NON_NULL(fc);
+ BT_ASSERT_PRE_FC_MIP_VERSION_GE(fc, 1);
BT_ASSERT_PRE_FC_HAS_TYPE("field-class", fc, "bit-array",
BT_FIELD_CLASS_TYPE_BIT_ARRAY, "Field class");
BT_ASSERT_PRE_NON_NULL("label", label, "Label");
struct bt_field_class_bit_array *ba_fc = (void *) fc;
BT_ASSERT_PRE_DEV_FC_NON_NULL(fc);
+ BT_ASSERT_PRE_DEV_FC_MIP_VERSION_GE(fc, 1);
BT_ASSERT_PRE_DEV_FC_HAS_TYPE("field-class", fc, "bit-array",
BT_FIELD_CLASS_TYPE_BIT_ARRAY, "Field class");
BT_ASSERT_PRE_DEV_VALID_INDEX(index, ba_fc->flags->len);
uint64_t i;
BT_ASSERT_PRE_DEV_FC_NON_NULL(fc);
+ BT_ASSERT_PRE_DEV_FC_MIP_VERSION_GE(fc, 1);
BT_ASSERT_PRE_DEV_FC_HAS_TYPE("field-class", fc, "bit-array",
BT_FIELD_CLASS_TYPE_BIT_ARRAY, "Field class");
BT_ASSERT_PRE_DEV_NON_NULL("label", label, "Label");
BT_ASSERT_PRE_DEV_NO_ERROR();
BT_ASSERT_PRE_DEV_FC_NON_NULL(fc);
+ BT_ASSERT_PRE_DEV_FC_MIP_VERSION_GE(fc, 1);
BT_ASSERT_PRE_DEV_FC_HAS_TYPE("field-class", fc, "bit-array",
BT_FIELD_CLASS_TYPE_BIT_ARRAY, "Field class");
BT_ASSERT_PRE_DEV_NON_NULL("label-array-output", label_array,