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

Use associated type in memory managers #1171

Merged
merged 2 commits into from
Aug 27, 2023
Merged

Conversation

ranfdev
Copy link
Member

@ranfdev ranfdev commented Aug 18, 2023

It makes it clearer that an XMemoryManager only manages a single target type.

@sdroege sdroege merged commit fe1a41c into gtk-rs:master Aug 27, 2023
47 checks passed
@sdroege
Copy link
Member

sdroege commented Aug 27, 2023

I'd ideally like to get rid of the memory manager stuff btw. It doesn't really bring any advantage and just adds more things for the compiler to optimize away.

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.

None yet

3 participants