Skip to content

Commit

Permalink
simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Sep 3, 2024
1 parent d53cfaf commit d600a7a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions crates/libs/bindgen/src/rust/winrt_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,7 @@ pub fn writer(
}
}
}
metadata::InterfaceKind::Static => {
quote! {
#features
pub fn #name<#generics>(#params) #return_type_tokens #where_clause {
Self::#interface_name(|this| unsafe { #vcall })
}
}
}
metadata::InterfaceKind::Composable => {
metadata::InterfaceKind::Static | metadata::InterfaceKind::Composable => {
quote! {
#features
pub fn #name<#generics>(#params) #return_type_tokens #where_clause {
Expand Down

0 comments on commit d600a7a

Please sign in to comment.