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

[Bindings/Odin] Update Odin bindings to latest #151

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

nicbarker
Copy link
Owner

This PR updates the Odin bindings to match the latest changes in clay.h, primarily adding the error handler to Initialize.

} else {
EnumBackingType :: u8
}
EnumBackingType :: u8
Copy link
Owner Author

Choose a reason for hiding this comment

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

We should now have working u8 support on windows, but I will have to confirm this.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Just tested and I misunderstood, still needs to be setup this way

Copy link
Contributor

Choose a reason for hiding this comment

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

I thought that the enums would be u8 on windows as well...

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yeah I was surprised and will investigate further, it's likely due to some combination of compiler and os that I'm using locally to generate the windows bindings. With the windows lib in the repo at the moment they are definitely 4 bytes, not 1 🤔

@nicbarker nicbarker changed the title Update Odin bindings to latest [Bindings/Odin] Update Odin bindings to latest Jan 2, 2025
@nicbarker nicbarker merged commit 68fbb07 into main Jan 2, 2025
3 checks passed
@nicbarker nicbarker deleted the 013-update-odin-bindings branch January 9, 2025 20:43
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.

2 participants