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

vk/platform_types: Mark SECURITY_ATTRIBUTES as a true ffi::c_void #433

Merged
merged 1 commit into from
May 10, 2021

Conversation

MarijnS95
Copy link
Collaborator

@MarijnS95 MarijnS95 commented May 10, 2021

Depends on #429

() is an empty tuple which can be constructed, while ffi::c_void cannot. This is only ever used as an opaque pointer anyway and not used by Ash; those wishing to access members directly should cast it to a struct representation of choice (winapi, windows-rs or something custom).

Fixes #156

`()` is an empty tuple which can be constructed, while `ffi::c_void`
cannot.  This is only ever used as an opaque pointer anyway and not used
by Ash; those wishing to access members directly should cast it to a
struct representation of choice (`winapi`, `windows-rs` or something
custom).

Fixes #156
@MaikKlein MaikKlein merged commit 3152f4a into master May 10, 2021
@MarijnS95 MarijnS95 deleted the security-attributes-void branch May 10, 2021 22:55
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.

SECURITY_ATTRIBUTES for windows is still not implemented
2 participants