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

WASM: add required PyObject *_null parameter to remaining functions marked with METH_NOARGS in math.c and color.c #2482

Merged
merged 1 commit into from
Oct 1, 2023

Conversation

damusss
Copy link
Member

@damusss damusss commented Sep 30, 2023

I didn't notice them, otherwise I would have added those in the display.c pull request on the same topic.

References:
https://docs.python.org/3/c-api/structures.html#c.METH_NOARGS
https://blog.pyodide.org/posts/function-pointer-cast-handling/

…arked with METH_NOARGS in math.c and color.c
@damusss damusss requested a review from a team as a code owner September 30, 2023 23:49
@pmp-p pmp-p added the Code quality/robustness Code quality and resilience to changes label Oct 1, 2023
@pmp-p pmp-p merged commit 6e51743 into pygame-community:main Oct 1, 2023
@Starbuck5 Starbuck5 added this to the 2.4.0 milestone Oct 1, 2023
@damusss damusss deleted the fix-meth-noargs-math-color branch May 2, 2024 08:10
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