From 168f9cb80f0909f869a0b1ff750ea61dbf97070e Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 17 Nov 2020 20:35:01 -0700 Subject: [PATCH] perlapi: Move PL_dowarn to Warnings section --- intrpvar.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/intrpvar.h b/intrpvar.h index 1ea21ca..10fd8e1 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 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 SV. Always refer to this as C<&PL_sv_undef>. -- 1.8.3.1