summaryrefslogtreecommitdiff
path: root/autodoc.pl
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-07-21 13:20:55 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 10:39:55 -0600
commitff5af78dc3432f87303a4d443373cd4230a19c94 (patch)
tree8b579970dd2124899c164cfb6d7ef0409de28def /autodoc.pl
parentdcd299b49cf3c7bd7b362706a5696b4eac4fadb7 (diff)
downloadperl-ff5af78dc3432f87303a4d443373cd4230a19c94.tar.gz
Add 'C' flag to embed.fnc, for "core-only" fcns
Previously the x flag was (mis-)used for this purpose. Some functions that are accessible by XS writers shouldn't be used by them, such as helper functions that an inline public function calls. This new flag alows that to be specified, without having to mark the function as experimental, which could be misleading to later core maintainers
Diffstat (limited to 'autodoc.pl')
-rw-r--r--autodoc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/autodoc.pl b/autodoc.pl
index 6c54b2faca..799852fc45 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -397,8 +397,8 @@ foreach (sort keys %missing) {
# walk table providing an array of components in each line to
# subroutine, printing the result
-# List of funcs in the public API that aren't also marked as experimental nor
-# deprecated.
+# List of funcs in the public API that aren't also marked as core-only,
+# experimental nor deprecated.
my @missing_api = grep $funcflags{$_}{flags} =~ /A/
&& $funcflags{$_}{flags} !~ /[xD]/
&& !$docs{api}{$_}, keys %funcflags;