[Perl/perl5] af1c36: expected_size() needs to be visible everywhere

[email protected] (Karl Williamson)
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: af1c366f773f73fa7638c268389021e2786c152f
      https://github.com/Perl/perl5/commit/af1c366f773f73fa7638c268389021e2786c152f
  Author: Karl Williamson <[email protected]>
  Date:   2026-03-18 (Wed, 18 Mar 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M proto.h

  Log Message:
  -----------
  expected_size() needs to be visible everywhere

It was marked as being visible only to perl extensions, but it is called
from the macro SvPV_shrink_to_cur, which is visible everywhere.
When an element needs to be visible everywhere, but we don't want people
to be using it directly, the 'C' flag is what is needed.

Thanks to Tony Cook for diagnosing the problem

Fixes #24295
Fixes #24296



To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.