summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2002-12-14 19:16:49 +0000
committerhv <hv@crypt.org>2002-12-17 00:52:05 +0000
commitc7c737cb28949ebe168789b54bc0a5da1ada7664 (patch)
tree1712d4af3f5769a9f0b94b348304c26baf08a7dd /pad.h
parentc78c2b74b534960cba26d1362c8930e3a6dfd4cb (diff)
downloadperl-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.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/pad.h b/pad.h
index e61b409879..54e8bc13cf 100644
--- a/pad.h
+++ b/pad.h
@@ -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 */