diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-09-02 15:57:24 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-09-02 15:57:24 +0100 |
commit | d6747b7ae5ffdaaf8364760ca2abdcb734c664c8 (patch) | |
tree | 62184510cbe78416af2c7279db9a8119931bbe27 /pod | |
parent | f4b4ed7b4eca79b25054dfeafa0aac0dbd41a507 (diff) | |
download | perl-d6747b7ae5ffdaaf8364760ca2abdcb734c664c8.tar.gz |
Change the first argument of Perl_fetch_cop_label() to COP *
From a suggestion from Ben Morrow.
The first argument used to be struct refcounted_he *, which exposed an
implementation detail - that the COP's labels are (now) stored in this way.
Google Code Search and an unpacked CPAN both fail to find any users of this
API, so the impact should be minimal.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perl5135delta.pod | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pod/perl5135delta.pod b/pod/perl5135delta.pod index 350f4b1232..33886605b8 100644 --- a/pod/perl5135delta.pod +++ b/pod/perl5135delta.pod @@ -63,12 +63,15 @@ L</Selected Bug Fixes> section. =head1 Incompatible Changes -XXX For a release on a stable branch, this section aspires to be: +=head2 C API changes - There are no changes intentionally incompatible with 5.XXX.XXX. If any - exist, they are bugs and reports are welcome. +The first argument of the C API function C<Perl_fetch_cop_label> has changed +from C<struct refcounted he *> to C<COP *>, to better insulate the user from +implementation details. -[ List each incompatible change as a =head2 entry ] +This API function was marked as "may change", and likely isn't in use outside +the core. (Neither an unpacked CPAN, nor Google's codesearch, finds any other +references to it.) =head1 Deprecations |