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

delegate: return uintptr as callback result #96

Merged
merged 1 commit into from
May 10, 2024

Conversation

jagobagascon
Copy link
Contributor

According to the syscall.NewCallback docs all the callbacks should return an uintptr sized result. But we were previously using uint64 which only works for 64 bit systems. This change should allow using winrt-go on 32 bit windows devices.

fixes #83

According to the syscall.NewCallback docs all the callbacks should
return an uintptr sized result. But we were previously using uint64
which only works for 64 bit systems. This change should allow using
winrt-go on 32 bit windows devices.

fixes #83
@jagobagascon jagobagascon merged commit db61b37 into main May 10, 2024
2 checks passed
@jagobagascon jagobagascon deleted the feature/use-uintptr-in-delegate-functions branch May 10, 2024 08:27
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.

Panic when trying to build 32-bit binary
2 participants