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

feat: Auto convert macro #22

Merged
merged 15 commits into from
Jan 2, 2025
Merged

feat: Auto convert macro #22

merged 15 commits into from
Jan 2, 2025

Conversation

Flemmli97
Copy link
Contributor

Adds a macro that auto converts between wasm <-> warp structs and enums.
Also exposes some enums that were previously not (e.g. raygun events) and improving typings. Some wrapper structs that contained setters were not modified.

Copy link
Contributor

@dariusc93 dariusc93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will check the codegen here shortly before approving but also left a minor suggestion as well

src/warp/multipass.rs Outdated Show resolved Hide resolved
src/warp/raygun.rs Outdated Show resolved Hide resolved
@Flemmli97 Flemmli97 merged commit d21e269 into main Jan 2, 2025
1 check passed
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.

3 participants