Skip to content

Fix the PyGILState_STATE type #1645

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

Merged
merged 2 commits into from
Dec 23, 2021
Merged

Conversation

filmor
Copy link
Member

@filmor filmor commented Dec 23, 2021

CPython uses a bare enum here, both of .NET and C default to int
enums, so this should be closer to the truth if no special compile
options are used.

Attempts to fix #1606.

CPython uses a bare `enum` here, both of .NET and C default to `int`
enums, so this should be closer to the truth if no special compile
options are used.
@filmor filmor requested a review from lostmsu December 23, 2021 23:14
@lostmsu lostmsu merged commit 216c705 into pythonnet:master Dec 23, 2021
@filmor filmor deleted the gilstate-type branch December 23, 2021 23:16
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.

PyGILState_Ensure - return type correct?
2 participants