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

Consider supporting multiple macro mod blocks #294

Open
ahayzen-kdab opened this issue Oct 3, 2022 · 1 comment
Open

Consider supporting multiple macro mod blocks #294

ahayzen-kdab opened this issue Oct 3, 2022 · 1 comment
Labels
⬆️ feature New feature or request

Comments

@ahayzen-kdab
Copy link
Collaborator

Can we support multiple macro mod blocks (eg multiple cxx_qt::bridge) in a single file?

Issues appear to be that CXX puts all the mods in one file into one output file, whereas our generation is per module until we can determine the source file name from the macro span.

@ahayzen-kdab ahayzen-kdab added the ⬆️ feature New feature or request label Oct 3, 2022
@ahayzen-kdab
Copy link
Collaborator Author

Currently this won't work as we export pub mod qobject { type T ... } so there will be a collision between the qobject

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️ feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant