ret = bt_field_class_structure_append_member(ir_fc,
named_fc->name->str, member_ir_fc);
BT_ASSERT(ret == 0);
ret = bt_field_class_structure_append_member(ir_fc,
named_fc->name->str, member_ir_fc);
BT_ASSERT(ret == 0);
ret = bt_field_class_variant_append_option(ir_fc,
named_fc->name->str, option_ir_fc);
BT_ASSERT(ret == 0);
ret = bt_field_class_variant_append_option(ir_fc,
named_fc->name->str, option_ir_fc);
BT_ASSERT(ret == 0);
BT_ASSERT(ir_fc);
ret = bt_field_class_dynamic_array_set_length_field_class(ir_fc,
borrow_ir_ft_from_field_path(&fc->length_path, tc, sc, ec));
BT_ASSERT(ir_fc);
ret = bt_field_class_dynamic_array_set_length_field_class(ir_fc,
borrow_ir_ft_from_field_path(&fc->length_path, tc, sc, ec));