[Perl/perl5] 780515: perl.h: cast locale context to PerlInterpreter *

[email protected] (Lukas Mai via perl5-changes) Wed, 29 Jul 2026 13:12:41 -0700
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 780515d80e37364e797a7fe3030134ede8ac1fbe
      https://github.com/Perl/perl5/commit/780515d80e37364e797a7fe3030134ede8ac1fbe
  Author: Lukas Mai <[email protected]>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M perl.h

  Log Message:
  -----------
  perl.h: cast locale context to PerlInterpreter *

Some modules pass a void pointer as the context (e.g. Glib, Cairo).
This is fine with Perl_switch_locale_context, which implicitly converts
its argument, but we need an explicit cast to PerlInterpreter * if we
want to dereference it to get at Iveto_switch_non_tTHX_context.

Fixes #24597, #24598, #24599.



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications