Refactor Perl_store_cop_label() to avoid exposing struct refcounted_he *.
authorNicholas Clark <nick@ccl4.org>
Wed, 1 Sep 2010 06:24:59 +0000 (07:24 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 1 Sep 2010 06:24:59 +0000 (07:24 +0100)
commita77ac40c5b8111e15c16279ce494e3aafde2b18e
tree75b6529b640b986b0f19390367d1d4b6b5d91604
parent5230ff8e57b55d2bb859cf3281ebffac412f7686
Refactor Perl_store_cop_label() to avoid exposing struct refcounted_he *.

Instead pass in a COP, as suggested by Ben Morrow. Also add length and flags
parameters, and remove the comment suggesting this change. The underlying
storage mechanism can honour length and UTF8/not, so there is no harm in
exposing this one level higher.
embed.fnc
hv.c
op.c
proto.h