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

switch_locale_context: Add aTHX #21392

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Conversation

khwilliamson
Copy link
Contributor

This fixes GH #21040

Instead of a dTHX, this passes aTHX automatically, and skips calling this function if there is no valid context.

It moves that decision into the macro itself, avoiding some #ifdef directives.

And it adds explanation

This fixes GH Perl#21040

Instead of a dTHX, this passes aTHX automatically, and skips calling
this function if there is no valid context.

It moves that decision into the macro itself, avoiding some #ifdef
directives.

And it adds explanation
@khwilliamson khwilliamson merged commit 6e13fe3 into Perl:blead Aug 23, 2023
@khwilliamson khwilliamson deleted the switch_context branch August 23, 2023 02:27
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.

3 participants