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

Forward-declare non-flat uniffi enums #47

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

stefunctional
Copy link
Contributor

With this PR, the generated header for the code in the linked issue contains the following forward-declarations:

struct Foo;
struct Bar;

The header compiles with clang++.

Resolves #46

Resolves NordSecurity#46

Signed-off-by: Stephane Raux <sraux@amazon.com>
@Lipt0nas
Copy link
Member

Hey! sorry for taking a while to reply, another nice catch, hopefully the pain of C++ forward declarations is gone now 😅

Thanks a lot for another contribution!

@Lipt0nas Lipt0nas merged commit 6902e78 into NordSecurity:main Sep 27, 2024
9 checks passed
@stefunctional
Copy link
Contributor Author

No problem. Thank you for the review and merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uniffi non-flat enums are not forward-declared
2 participants