summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-11-17 20:35:01 -0700
committerKarl Williamson <khw@cpan.org>2020-11-25 06:15:06 -0700
commit168f9cb80f0909f869a0b1ff750ea61dbf97070e (patch)
tree45a171aa6941762b5e54f181a15f9ec1ff50d2c5 /intrpvar.h
parent8dc9a321dd4ceb65a6f39ababf8cb6a8f0de247a (diff)
downloadperl-168f9cb80f0909f869a0b1ff750ea61dbf97070e.tar.gz
perlapi: Move PL_dowarn to Warnings section
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h
index 1ea21ca471..10fd8e13a6 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -94,12 +94,17 @@ PERLVARI(I, tainted, bool, FALSE) /* using variables controlled by $< */
PERLVAR(I, delaymagic, U16) /* ($<,$>) = ... */
/*
+=for apidoc_section $warning
=for apidoc mn|U8|PL_dowarn
The C variable that roughly corresponds to Perl's C<$^W> warning variable.
However, C<$^W> is treated as a boolean, whereas C<PL_dowarn> is a
collection of flag bits.
+On threaded perls, each thread has an independent copy of this variable;
+each initialized at creation time with the current value of the creating
+thread's copy.
+
=cut
*/
@@ -171,6 +176,7 @@ PERLVAR(I, regmatch_state, regmatch_state *)
PERLVAR(I, comppad, PAD *) /* storage for lexically scoped temporaries */
/*
+=for apidoc_section Per-Interpreter Variables
=for apidoc Amn|SV|PL_sv_undef
This is the C<undef> SV. Always refer to this as C<&PL_sv_undef>.