Skip to content

Conversation

@Starbuck5
Copy link
Member

The mask module C API is undocumented and unused within pygame-ce. Also removes two strange extern declarations in alphablit.c for functions that are not referenced in the codebase.

The mask module C API is undocumented and unused within pygame-ce. Also removes two strange extern declarations in alphablit.c for functions that are not referenced in the codebase.
@Starbuck5 Starbuck5 requested a review from a team as a code owner June 17, 2025 06:14
@Starbuck5 Starbuck5 added the Code quality/robustness Code quality and resilience to changes label Jun 17, 2025
Copy link
Member

@MightyJosip MightyJosip left a comment

Choose a reason for hiding this comment

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

Yea it is good, I would do some more clearing, like remove both headers atm, and then later reorganize the code after we have everything split up (also when we decide how we should organize everything, so entire codebase is unified, right now that mask.h is completely different to the rest of the code base. I would also move pgMaskObject from pygame_mask. to pygame.h like all the other objects.

But there are no problems with this commit so 👍

@ankith26 ankith26 added this to the 2.5.6 milestone Jun 17, 2025
@ankith26 ankith26 merged commit a3a5568 into pygame-community:main Jun 17, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code quality/robustness Code quality and resilience to changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants