Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make the insides of AllocationHandle private #2332

Merged
merged 2 commits into from
Sep 16, 2023

Conversation

marc0246
Copy link
Contributor

Let's stay conservative, to for example allow adding more fields to it (in particular consider a thicc pointer) or turn it into a union (e.g. if the need for storing a DeviceSize ever arises).

@Rua Rua merged commit e9790c1 into vulkano-rs:master Sep 16, 2023
@Rua
Copy link
Contributor

Rua commented Sep 16, 2023

Curious why you made AllocationHandle transparent except in documentation?

@marc0246 marc0246 deleted the allocation-handle branch September 16, 2023 08:11
@marc0246
Copy link
Contributor Author

Because it must not be relied on.

@marc0246
Copy link
Contributor Author

marc0246 commented Sep 16, 2023

We should do the same for Subbuffer I think, not doing it originally was a mistake on my part.

hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
* Make the insides of `AllocationHandle` private

* Fix naming
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants