summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-09-02 15:57:24 +0100
committerNicholas Clark <nick@ccl4.org>2010-09-02 15:57:24 +0100
commitd6747b7ae5ffdaaf8364760ca2abdcb734c664c8 (patch)
tree62184510cbe78416af2c7279db9a8119931bbe27 /embed.fnc
parentf4b4ed7b4eca79b25054dfeafa0aac0dbd41a507 (diff)
downloadperl-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 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index ddc3173be8..63269f0f7e 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2379,7 +2379,7 @@ p |void |boot_core_mro
Apon |void |sys_init |NN int* argc|NN char*** argv
Apon |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
Apon |void |sys_term
-ApoM |const char *|fetch_cop_label|NULLOK struct refcounted_he *const chain \
+ApoM |const char *|fetch_cop_label|NN COP *const cop \
|NULLOK STRLEN *len|NULLOK U32 *flags
: Only used in op.c
xpoM |void|store_cop_label \