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

UINT should be uint32 #62

Closed
codehz opened this issue Nov 30, 2020 · 2 comments
Closed

UINT should be uint32 #62

codehz opened this issue Nov 30, 2020 · 2 comments

Comments

@codehz
Copy link

codehz commented Nov 30, 2020

UINT* = int32
PUINT* = ptr int32

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/52ddd4c3-55b9-4e03-8287-5392aac0627f

@khchen
Copy link
Owner

khchen commented Nov 30, 2020

For historical reasons and compatibility, winim only use signed integer types.

Furthermore, this is compatible to std/winlean
https://nim-lang.org/docs/winlean.html#ULONG

@codehz
Copy link
Author

codehz commented Dec 1, 2020

Ok, it looks reasonable

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

No branches or pull requests

2 participants