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

windows-bindgen assumes BOOL has ok() method #3439

Closed
kennykerr opened this issue Jan 14, 2025 · 0 comments · Fixed by #3441
Closed

windows-bindgen assumes BOOL has ok() method #3439

kennykerr opened this issue Jan 14, 2025 · 0 comments · Fixed by #3441
Labels
bug Something isn't working

Comments

@kennykerr
Copy link
Collaborator

When you generate a function that returns BOOL - like EnumWindows - it assumes that .ok() can be called to turn it into a Result. This extension is only available in the windows crate, but ideally the bindings should not depend on the windows crate directly.

@kennykerr kennykerr added the bug Something isn't working label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant