diff options
author | David Mitchell <davem@iabyn.com> | 2015-12-17 17:50:52 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-02-03 09:18:35 +0000 |
commit | abaf5d5ada4e3983478a6c89f54ed039ef236595 (patch) | |
tree | b59b85e38d8646060cb343b4063262beecaab0e3 /pp_ctl.c | |
parent | 204bab9010640e4129be5ae2d5612fc7020c74ae (diff) | |
download | perl-abaf5d5ada4e3983478a6c89f54ed039ef236595.tar.gz |
provide some basic documentation for Perl_dounwind
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1505,6 +1505,15 @@ S_dopoptowhen(pTHX_ I32 startingblock) return i; } +/* dounwind(): pop all contexts above (but not including) cxix. + * Leaves cxstack_ix equal to cxix. Note that for efficiency, it doesn't + * call POPBLOCK at all; the caller should do + * CX_LEAVE_SCOPE; POPFOO; POPBLOCK + * or + * TOPBLOCK + * as appropriate. + */ + void Perl_dounwind(pTHX_ I32 cxix) { |