-
Notifications
You must be signed in to change notification settings - Fork 36
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
Review Windows-specific code #1
Comments
Feel free to ping me in the future for any native API review (at least for Windows, X11, and macOS). I maintain winit, so I have to interact with them on a regular basis. |
@francesca64 Amazing, thanks a lot! Could you have a look whether https://github.com/soc/directories-rs/blob/master/src/win.rs#L84 correctly manages the memory coming from the Windows API? |
Looks good to me. |
@francesca64 Thank you. I looked at code like https://github.com/tbu-/dirs/blob/master/src/windows/sys.rs#L88 that explicitly defined |
@francesca64 Last question: Do the changes in c0d6956 look good to you? |
Yeah, that looks good. |
@francesca64 Thanks for your help! I'll close this ticket then. |
I'm not a Windows developer, so I'm not experienced in dealing with the various native Windows APIs.
It would be really helpful if someone more knowledgeable than me could have a look at https://github.com/soc/directories-rs/blob/master/src/win.rs#L82 and make sure that I have used the Windows API correctly, and haven't introduced any glaring issues on the Rust side either.
The text was updated successfully, but these errors were encountered: