diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-08-17 13:39:27 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-08-17 16:45:22 -0700 |
commit | 84eea98055f218b655619db1600f75f511c33e3d (patch) | |
tree | a45dc42539e9e4e118275119b3df57491c00c5ac /pad.c | |
parent | fe79b1b662bc3e34b73e5b207dbf472afbc1b3ac (diff) | |
download | perl-84eea98055f218b655619db1600f75f511c33e3d.tar.gz |
pad.c: Document pad_add_anon’s refcounting
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -784,6 +784,8 @@ currently-compiling function. The function I<func> is linked into the pad, and its C<CvOUTSIDE> link to the outer scope is weakened to avoid a reference loop. +One reference count is stolen, so you may need to do C<SvREFCNT_inc(func)>. + I<optype> should be an opcode indicating the type of operation that the pad entry is to support. This doesn't affect operational semantics, but is used for debugging. |