diff options
author | David Mitchell <davem@iabyn.com> | 2016-09-26 15:56:08 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-09-26 16:20:34 +0100 |
commit | d12be05dd0210a08e077f0cc9586a5a963122547 (patch) | |
tree | 7f69d1975a59995c29376e9b48333520288e9f42 /intrpvar.h | |
parent | d081a35540aca5feaa56d2ce8a0b72b909a2d79e (diff) | |
download | perl-d12be05dd0210a08e077f0cc9586a5a963122547.tar.gz |
make PL_ pad vars be of type PADOFFSET
Now that that PADOFFSET is signed, make
PL_comppad_name_fill
PL_comppad_name_floor
PL_padix
PL_constpadix
PL_padix_floor
PL_min_intro_pending
PL_max_intro_pending
be of type PADOFFSET rather than I32, to match the rest of the pad
interface.
At the same time, change various I32 local vars in pad.c functions to be
PADOFFSET.
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/intrpvar.h b/intrpvar.h index 3f43fd9c63..63bc4d106f 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -490,8 +490,8 @@ PERLVAR(I, compiling, COP) /* compiling/done executing marker */ PERLVAR(I, compcv, CV *) /* currently compiling subroutine */ PERLVAR(I, comppad_name, PADNAMELIST *) /* variable names for "my" variables */ -PERLVAR(I, comppad_name_fill, I32) /* last "introduced" variable offset */ -PERLVAR(I, comppad_name_floor, I32) /* start of vars in innermost block */ +PERLVAR(I, comppad_name_fill, PADOFFSET)/* last "introduced" variable offset */ +PERLVAR(I, comppad_name_floor, PADOFFSET)/* start of vars in innermost block */ #ifdef HAVE_INTERP_INTERN PERLVAR(I, sys_intern, struct interp_intern) @@ -550,14 +550,14 @@ PERLVARI(I, runops, runops_proc_t, RUNOPS_DEFAULT) PERLVAR(I, subname, SV *) /* name of current subroutine */ PERLVAR(I, subline, I32) /* line this subroutine began on */ -PERLVAR(I, min_intro_pending, I32) /* start of vars to introduce */ +PERLVAR(I, min_intro_pending, PADOFFSET)/* start of vars to introduce */ -PERLVAR(I, max_intro_pending, I32) /* end of vars to introduce */ -PERLVAR(I, padix, I32) /* lowest unused index - 1 +PERLVAR(I, max_intro_pending, PADOFFSET)/* end of vars to introduce */ +PERLVAR(I, padix, PADOFFSET) /* lowest unused index - 1 in current "register" pad */ -PERLVAR(I, constpadix, I32) /* lowest unused for constants */ +PERLVAR(I, constpadix, PADOFFSET) /* lowest unused for constants */ -PERLVAR(I, padix_floor, I32) /* how low may inner block reset padix */ +PERLVAR(I, padix_floor, PADOFFSET) /* how low may inner block reset padix */ #ifdef USE_LOCALE_COLLATE PERLVAR(I, collation_name, char *) /* Name of current collation */ |