diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-04-30 23:01:07 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-06-12 16:15:21 +0200 |
commit | 58f645e20791a7788fcb38189895a712d5c53419 (patch) | |
tree | 768a485e3238e8b68abbf92cefed82fcb253b446 /perlvars.h | |
parent | 8790f825d5f6ff0beed9873a34e145cf35e3ce5c (diff) | |
download | perl-58f645e20791a7788fcb38189895a712d5c53419.tar.gz |
Move PL_{No,Yes,hexdigit} from perlvars.h to perl.h, as all are const char[]
They were converted in perl.h from const char[] to #define in 31fb120917c4f65d,
then re-instated as const char[], but in perlvars.h, in 3fe35a814d0a98f4.
There's no need for compile-time constants to jump through the hoops of
perlvars.h, even for Symbian, as the various "EXTCONST" variables already in
perl.h demonstrate.
These were the only 3 users of the the PERLVARISC macro, so eliminate that, and
all related code.
Diffstat (limited to 'perlvars.h')
-rw-r--r-- | perlvars.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/perlvars.h b/perlvars.h index cd888516ce..d3764d57d1 100644 --- a/perlvars.h +++ b/perlvars.h @@ -32,12 +32,6 @@ PERLVAR(Gcurinterp, PerlInterpreter *) PERLVAR(Gthr_key, perl_key) /* key to retrieve per-thread struct */ #endif -/* constants (these are not literals to facilitate pointer comparisons) - * (PERLVARISC really does create variables, despite its looks) */ -PERLVARISC(GYes, "1") -PERLVARISC(GNo, "") -PERLVARISC(Ghexdigit, "0123456789abcdef0123456789ABCDEF") - /* XXX does anyone even use this? */ PERLVARI(Gdo_undump, bool, FALSE) /* -u or dump seen? */ |