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

Rename composite32 to composite, instead of having both #21

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ids1024
Copy link
Contributor

@ids1024 ids1024 commented Dec 11, 2024

The composite function in Pixman is defined to just call composite32 (for compatibility with ancient code from before that was added). So there's no need to expose both in Rust bindings.

This is a breaking API change.

I'm not sure if Region16 is useful to keep as a type, or just unnecessary. Internally, Pixman just uses pixman_region32_copy_from_region16 to convert it to a Region32...

The `composite` function in Pixman is defined to just call `composite32`
(for compatibility with ancient code from before that was added). So
there's no need to expose both in Rust bindings.
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.

1 participant