+
Skip to content

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
@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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载