diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2002-12-14 19:16:49 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-12-17 00:52:05 +0000 |
commit | c7c737cb28949ebe168789b54bc0a5da1ada7664 (patch) | |
tree | 1712d4af3f5769a9f0b94b348304c26baf08a7dd /pad.h | |
parent | c78c2b74b534960cba26d1362c8930e3a6dfd4cb (diff) | |
download | perl-c7c737cb28949ebe168789b54bc0a5da1ada7664.tar.gz |
Re: [jhi@iki.fi: enums are not nums]
Message-ID: <20021214191649.B3992@fdgroup.com>
p4raw-id: //depot/perl@18311
Diffstat (limited to 'pad.h')
-rw-r--r-- | pad.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -34,11 +34,9 @@ typedef U64TYPE PADOFFSET; /* flags for the pad_new() function */ -typedef enum { - padnew_CLONE = 1, /* this pad is for a cloned CV */ - padnew_SAVE = 2, /* save old globals */ - padnew_SAVESUB = 4 /* also save extra stuff for start of sub */ -} padnew_flags; +#define padnew_CLONE 1 /* this pad is for a cloned CV */ +#define padnew_SAVE 2 /* save old globals */ +#define padnew_SAVESUB 4 /* also save extra stuff for start of sub */ /* values for the pad_tidy() function */ |