Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++/WinRT - Support using OneToolkit WinRT APIs by importing the module file #2

Open
JaiganeshKumaran opened this issue Aug 15, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@JaiganeshKumaran
Copy link
Member

Moved from Azure Boards. Original creation timestamp: 2022-01-02 21:00 +05:30.

Today, to consume OneToolkit WinRT APIs from C++/WinRT, you've to manually include the generated projection headers. Previously the OneToolkit.h header file included all of them, however, now I'm considering moving away from headers and using modules instead. The problem is that C++/WinRT doesn't yet support consuming projection headers as a module, and since it defines macros, causes too many warnings when you try to export them from a module. Find a way to consume those APIs defined in projection headers directly by importing the module.

@JaiganeshKumaran JaiganeshKumaran added the enhancement New feature or request label Sep 25, 2022
@JaiganeshKumaran JaiganeshKumaran added this to the future milestone Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant