summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-07-18 07:18:24 -0600
committerKarl Williamson <khw@cpan.org>2020-09-22 07:10:28 -0600
commit0bfb46833b9c1f0866e761651fb6e9bb9e015174 (patch)
tree5e4109d7bb47a1637d1a70e598b290b3e4bb615a
parenteb02a8c6711edbd883718cab0bb44d03c17f61f1 (diff)
downloadperl-0bfb46833b9c1f0866e761651fb6e9bb9e015174.tar.gz
Document PL_Sv
-rw-r--r--intrpvar.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/intrpvar.h b/intrpvar.h
index f6d86091cd..5f32b70012 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -204,7 +204,19 @@ PERLVARA(I, sv_immortals, 4, SV)
PERLVAR(I, padname_undef, PADNAME)
PERLVAR(I, padname_const, PADNAME)
-PERLVAR(I, Sv, SV *) /* used to hold temporary values */
+
+/*
+=for apidoc Cmn||PL_Sv
+
+A scratch pad SV for whatever temporary use you need. Chiefly used as a
+fallback by macros on platforms where L<perlapi/PERL_USE_GCC_BRACE_GROUPS>> is
+unavailable, and which would otherwise would evaluate their SV parameter more
+than once.
+
+=cut
+*/
+PERLVAR(I, Sv, SV *)
+
PERLVAR(I, parser, yy_parser *) /* current parser state */
PERLVAR(I, stashcache, HV *) /* Cache to speed up S_method_common */