Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Use uint32_t in wlr_renderer_begin signature #2433

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

ifreund
Copy link
Member

@ifreund ifreund commented Oct 15, 2020

This matches the signature of wlr_renderer_impl.begin

This matches the signature of wlr_renderer_impl.begin
@ifreund
Copy link
Member Author

ifreund commented Oct 15, 2020

This is technically a breaking change but I don't think it will cause any issues as the implicit cast from int to uint32_t is currently happening, presumably without issue, inside wlroots.

@ammen99
Copy link
Member

ammen99 commented Oct 16, 2020

This is technically a breaking change but I don't think it will cause any issues as the implicit cast from int to uint32_t is currently happening, presumably without issue, inside wlroots.

The change LGTM, however, it is still a breaking change. For example, if some language uses auto-generated bindings and in that language the implicit conversion is not available.

@emersion emersion added the breaking Breaking change in public API label Oct 16, 2020
Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@emersion emersion merged commit 0724b3c into swaywm:master Nov 11, 2020
@ifreund ifreund deleted the int_type_fixes branch November 11, 2020 11:04
@emersion emersion mentioned this pull request Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking change in public API
Development

Successfully merging this pull request may close these issues.

None yet

3 participants