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

Improve long handling for structs #1065

Merged
merged 2 commits into from
May 29, 2024
Merged

Improve long handling for structs #1065

merged 2 commits into from
May 29, 2024

Conversation

badcel
Copy link
Member

@badcel badcel commented May 28, 2024

On windows long has always 32 bit. On Unix it has 32 / 64 bit depending on the system architecture.

This commit generates structs with a field of type "CLong" / "CULong" instead of "long" / "ulong" to match this behavior.

  • I agree that my contribution may be licensed either under MIT or any version of LGPL license.

Fixes: #782

@badcel badcel force-pushed the improve-long-handling branch from defdfc2 to a7761b9 Compare May 28, 2024 21:02
badcel added 2 commits May 28, 2024 23:10
On windows long has always 32 bit. On Unix it has 32 / 64 bit depending on the system architecture.

This commit generates structs with a field of type "CLong" / "CULong" instead of "long" / "ulong" to match this behavior.
@badcel badcel force-pushed the improve-long-handling branch from a7761b9 to 31a2e20 Compare May 28, 2024 21:10
@badcel badcel marked this pull request as ready for review May 29, 2024 03:49
@badcel badcel merged commit 4803234 into main May 29, 2024
3 checks passed
@badcel badcel deleted the improve-long-handling branch May 29, 2024 03:50
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.

Verify struct generation for windows
1 participant