Skip to content

Generate proto.h entries for those marked 'X'#24543

Merged
Leont merged 1 commit into
Perl:bleadfrom
khwilliamson:embedE
Jul 8, 2026
Merged

Generate proto.h entries for those marked 'X'#24543
Leont merged 1 commit into
Perl:bleadfrom
khwilliamson:embedE

Conversation

@khwilliamson

@khwilliamson khwilliamson commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

This fixes #24541.

The embed.fnc 'X' flag means that the Perl_ form of a function is supposed to be visible everywhere, with the short name hidden outside the core (or extensions, if the 'E' flag is also given).

The wording of the comments in embed.fnc was confusing about this. This commit revises that, and makes formerly invisible functions now have prototypes generated for them, which makes them visible.

  • This set of changes does not require a perldelta entry.

Comment thread embed.fnc
@jkeenan

jkeenan commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Can this be exercised by the test suite?

This fixes Perl#24541.

The embed.fnc 'X' flag means that the Perl_ form of a function is
supposed to be visible everywhere, with the short name hidden outside
the core (or extensions, if the 'E' flag is also given).

The wording of the comments in embed.fnc was confusing about this.  This
commit revises that, and makes formerly invisible functions now have
prototypes generated for them, which makes them visible.

It also changes some tabs to spaces in embed.fnc.  This file is supposed
to have both, depending on context, so automatic fixing isn't enabled,
and a few lines had gotten off.
@khwilliamson khwilliamson marked this pull request as ready for review July 7, 2026 19:34
@khwilliamson

Copy link
Copy Markdown
Contributor Author

I compared the newly visible symbols against 5.42. All the ones that existed in 5.42 were visible then, so this restores all those to the previous release's state. There is one new symbol; compilation failed when I tried to change it to be hidden now.

@Leont Leont merged commit e2ae0ee into Perl:blead Jul 8, 2026
33 checks passed
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.

BBC: perl 5.43.2 breaks re-engine-RE2

4 participants