summaryrefslogtreecommitdiff
path: root/pod/perlintern.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-01 14:31:37 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-01 14:31:37 +0000
commita24d89c9b4c1e58840711d560a34763a7ca91051 (patch)
treed13f807afb7745e725f87a7d9fb37f52313ab56e /pod/perlintern.pod
parent9b2c10f1c598e1e6a0db9d0b301c9559b079b129 (diff)
downloadperl-a24d89c9b4c1e58840711d560a34763a7ca91051.tar.gz
Propagate cop_hints inside string evals. For the unthreaded case this
is easy. For the threaded case it's not, because the current OP may be shared with another thread, so solve this by copying the hints chain. p4raw-id: //depot/perl@27659
Diffstat (limited to 'pod/perlintern.pod')
-rw-r--r--pod/perlintern.pod12
1 files changed, 11 insertions, 1 deletions
diff --git a/pod/perlintern.pod b/pod/perlintern.pod
index 6c82701995..77fced839b 100644
--- a/pod/perlintern.pod
+++ b/pod/perlintern.pod
@@ -485,6 +485,16 @@ in C<struct refcounted_he *>.
=for hackers
Found in file hv.c
+=item refcounted_he_copy
+X<refcounted_he_copy>
+
+Copies a chain of C<struct refcounted_he *>. Used by C<pp_entereval>.
+
+ struct refcounted_he * refcounted_he_copy(const struct refcounted_he *he)
+
+=for hackers
+Found in file hv.c
+
=item refcounted_he_dup
X<refcounted_he_dup>
@@ -515,7 +525,7 @@ to I<value>. As S<key> is copied into a shared hash key, all references remain
the property of the caller. The C<struct refcounted_he> is returned with a
reference count of 1.
- struct refcounted_he * refcounted_he_new(struct refcounted_he *parent, SV *key, SV *value)
+ struct refcounted_he * refcounted_he_new(struct refcounted_he *const parent, SV *key, SV *value)
=for hackers
Found in file hv.c