summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-11-01 16:43:22 +0000
committerNicholas Clark <nick@ccl4.org>2009-11-01 16:47:07 +0000
commit879d0c7269cae2ffd414e7e03bcd3bc03ba587d3 (patch)
treedd2ef9b59739f8a8dca35e041a72286886d57ac2 /pod
parente4eea5780a2bbeecb73ada4fbd62b3616735d968 (diff)
downloadperl-879d0c7269cae2ffd414e7e03bcd3bc03ba587d3.tar.gz
Remove Perl_pmflag() from the public API, and mark it as deprecated.
regcomp.c stopped using it before 5.10, leaving only toke.c. The only code on CPAN that uses it is copies of regcomp.c. Replace it with a static function, with a cleaner interface.
Diffstat (limited to 'pod')
-rw-r--r--pod/perl5112delta.pod8
-rw-r--r--pod/perldiag.pod7
2 files changed, 12 insertions, 3 deletions
diff --git a/pod/perl5112delta.pod b/pod/perl5112delta.pod
index fb8c8557af..b2a6522b02 100644
--- a/pod/perl5112delta.pod
+++ b/pod/perl5112delta.pod
@@ -167,13 +167,15 @@ XXX
=head1 Changed Internals
-XXX Changes which affect the interface available to C<XS> code go here.
-
=over 4
=item *
-XXX
+C<Perl_pmflag> has been removed from the public API. Calling it now generates
+a deprecation warning, and it will be removed in a future release. Although
+listed as part of the API, it was never documented, and only ever used in
+F<toke.c>, and prior to 5.10, F<regcomp.c>. In core, it has been replaced by a
+static function.
=back
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 22b30f83a5..3f0a78a3fe 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3280,6 +3280,13 @@ so it was not possible to set up some or all fixed-width byte-order
conversion functions. This is only a problem when you're using the
'<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>.
+=item Perl_pmflag() is deprecated, and will be removed from the XS API
+
+(D deprecated) XS code called the C function C<Perl_pmflag>. This was part of
+Perl's listed public API for extending or embedding the perl interpreter. It has
+now been removed from the public API, and will be removed in a future release,
+hence XS code should be re-written not to use it.
+
=item Perl %s required--this is only version %s, stopped
(F) The module in question uses features of a version of Perl more