summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-09-07 22:53:02 +0200
committerJames E Keenan <jkeenan@cpan.org>2022-12-30 12:44:32 -0500
commitc0a0deac6f266fa9ef71058dd53edb870f8aff75 (patch)
tree9d3e668c65798a7cd825fbc45596b17f572ce87c /pad.h
parent532aec67f5cea9364bfc74122fbe9f766a3475b1 (diff)
downloadperl-c0a0deac6f266fa9ef71058dd53edb870f8aff75.tar.gz
pad.h - reword comment to be more legible
The prevous verbiage ended the comment with the term "padnamelist *", which put the "*" right next to the end comment marker, which was a bit confusing. This wording put the * in the middle of the sentence where it is clear it is not a mistake. Also note that the previous text used tabs internally, and so this change /looks/ like it is off indent, it is not, it is lined up with the surrounding lines.
Diffstat (limited to 'pad.h')
-rw-r--r--pad.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pad.h b/pad.h
index 6d3f3ff482..fa5b2896d7 100644
--- a/pad.h
+++ b/pad.h
@@ -23,8 +23,9 @@ typedef SSize_t PADOFFSET; /* signed so that -1 is a valid value */
struct padlist {
SSize_t xpadl_max; /* max index for which array has space */
union {
- PAD ** xpadlarr_alloc; /* Pointer to beginning of array of AVs.
- index 0 is a padnamelist * */
+ PAD ** xpadlarr_alloc; /* Pointer to beginning of array of AVs.
+ Note that a 'padnamelist *' is stored
+ in the 0 index of the AV. */
struct {
PADNAMELIST * padnl;
PAD * pad_1; /* this slice of PAD * array always alloced */