-
Notifications
You must be signed in to change notification settings - Fork 76
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
Consolidate struct definition #229
Conversation
To avoid forgetting to update all the structs I've moved it where every platform shares the same type def. Closes ebitengine#228
We should probably add a test for non-standard platforms but this would require a C compiler. |
Thanks.
We would need a cross compiler or QEMU. It'd be nice to have. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me ask a question...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
So doing a separate commit for tests? |
If this is easy, it is better to have a test in this pr. If not, a sperate pr is fine. I thought it was not easy. |
I don't think it'll be easy |
Ok, then let's add a test later in a separate pr :-) |
The struct on Cgo non-amd64 and non-arm64 platforms didn't have the struct fields updated. To avoid forgetting to update all the structs I've moved it where every platform shares the same type def.
Closes #228