Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cppwinrt/code_writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2426,10 +2426,10 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
w.write(format, bind<write_generic_typenames>(generics));
}

auto format = R"( struct % : Windows::Foundation::IUnknown
auto format = R"( struct % : winrt::Windows::Foundation::IUnknown
{%
%(std::nullptr_t = nullptr) noexcept {}
%(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
%(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
template <typename L> %(L lambda);
template <typename F> %(F* function);
template <typename O, typename M> %(O* object, M method);
Expand Down
2 changes: 2 additions & 0 deletions test/test_component/test_component.idl
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,7 @@ namespace test_component
static void StaticMethod(Struct param);
void Method(Windows.Foundation.Uri param);
}

delegate void Delegate();
}
}