This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change the first argument of Perl_fetch_cop_label() to COP *
authorNicholas Clark <nick@ccl4.org>
Thu, 2 Sep 2010 14:57:24 +0000 (15:57 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 2 Sep 2010 14:57:24 +0000 (15:57 +0100)
commitd6747b7ae5ffdaaf8364760ca2abdcb734c664c8
tree62184510cbe78416af2c7279db9a8119931bbe27
parentf4b4ed7b4eca79b25054dfeafa0aac0dbd41a507
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.
cop.h
embed.fnc
hv.c
pod/perl5135delta.pod
pp_ctl.c
proto.h