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

Support result return type #553

Merged
merged 5 commits into from
Jul 20, 2023

Conversation

ahayzen-kdab
Copy link
Collaborator

@ahayzen-kdab ahayzen-kdab commented May 29, 2023

Requires #589

@ahayzen-kdab ahayzen-kdab marked this pull request as draft May 29, 2023 12:51
@ahayzen-kdab
Copy link
Collaborator Author

We will still need some work here with the new API, the Rust side won't change as now the developer writes the signature and the implementation.

However we need to ensure that our type parser for creating the C++ type can support Result<T> and knows what to do with it when it's a return type.

So some parts of this pull request will still be valid.

@ahayzen-kdab ahayzen-kdab added the 🥳🎉 1.0 This issue is part of stabilization for 1.0 release label Jun 8, 2023
@ahayzen-kdab ahayzen-kdab force-pushed the 404-support-result-return-type branch from 6ee764b to 83acfc3 Compare June 22, 2023 09:47
@ahayzen-kdab ahayzen-kdab force-pushed the 404-support-result-return-type branch from 83acfc3 to c8b6336 Compare July 4, 2023 14:40
@ahayzen-kdab ahayzen-kdab force-pushed the 404-support-result-return-type branch 2 times, most recently from 3618ed4 to 7fc3692 Compare July 19, 2023 15:02
@ahayzen-kdab ahayzen-kdab changed the title WIP: Support result return type Support result return type Jul 19, 2023
@ahayzen-kdab ahayzen-kdab force-pushed the 404-support-result-return-type branch from 7fc3692 to a82f149 Compare July 20, 2023 08:11
@ahayzen-kdab ahayzen-kdab marked this pull request as ready for review July 20, 2023 08:11
@ahayzen-kdab ahayzen-kdab force-pushed the 404-support-result-return-type branch from a82f149 to c493991 Compare July 20, 2023 08:24
This allows us to have a separate module for independent helpers
for dealing with syn, CXX, and C++ together.

Related to KDAB#404
@Be-ing Be-ing force-pushed the 404-support-result-return-type branch from c493991 to a6bcd37 Compare July 20, 2023 15:55
@ahayzen-kdab ahayzen-kdab force-pushed the 404-support-result-return-type branch from a6bcd37 to 5d31396 Compare July 20, 2023 16:07
@Be-ing Be-ing enabled auto-merge (rebase) July 20, 2023 16:17
@Be-ing Be-ing merged commit a345666 into KDAB:main Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥳🎉 1.0 This issue is part of stabilization for 1.0 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants