Skip to content

Conversation

@khwilliamson
Copy link
Contributor

This is designed to make noting what flag bits a function or macro takes very easy, while helping downstream code that processes things do a better job.

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

So move them from perlapi to perlintern
Where they were made autodoc.pl think they were from a new entry
This is meant to easily document the flags a function accepts or
returns.

Currently this only is used for generating X<> entries for the flags,
but it allows replacing (in the next commit) the previous, clumsier,
method used that does the same thing.

And it allows for future enhancements, including generating tests by
Devel::PPPort and automatic text added by autodoc.
This replaces the clumsy method used previously by the new construct
introduced in the previous commit.
scope.c Outdated
Comment on lines 294 to 295
=for apidoc Amnh ||SAVEf_KEEPOLDELEM
=for apidoc Amnh ||SAVEf_SETMAGIC
=for apidoc Cmnh ||SAVEf_KEEPOLDELEM
=for apidoc Cmnh ||SAVEf_SETMAGIC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are also used by and documented for save_helem_flags(), which is API.

@tonycoz
Copy link
Contributor

tonycoz commented Dec 7, 2025

Otherwise looks ok.

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.

2 participants