Skip to content

Commit

Permalink
Making the static ABI classes internal if type was marked with Projec…
Browse files Browse the repository at this point in the history
…tionInternal (#1196)
  • Loading branch information
manodasanW authored May 17, 2022
1 parent fe3402b commit fb6a81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cswinrt/code_writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -5973,7 +5973,7 @@ public static Guid PIID = Vftbl.PIID;
%
}
)",
is_exclusive_to(iface) ? "internal" : internal_accessibility(),
(is_exclusive_to(iface) || is_projection_internal(iface)) ? "internal" : internal_accessibility(),
bind<write_type_name>(iface, typedef_name_type::StaticAbiClass, false),
[&](writer& w) {
if (!fast_abi_class_val.has_value() || (!fast_abi_class_val.value().contains_other_interface(iface) && !interfaces_equal(fast_abi_class_val.value().default_interface, iface))) {
Expand Down

0 comments on commit fb6a81d

Please sign in to comment.