summaryrefslogtreecommitdiff
path: root/cop.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-02 10:08:04 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-02 10:08:04 +0000
commitfc15ae8fb67c31ee845fb33ce00b1c24c4c1a908 (patch)
tree8306f0557f5c1b6c97046a2464316004f44554d3 /cop.h
parent2ee88f01016d2541e1f47423d3e348014e311bc8 (diff)
downloadperl-fc15ae8fb67c31ee845fb33ce00b1c24c4c1a908.tar.gz
Abstract all the accesses to cop_arybase (apart from ByteLoader)
p4raw-id: //depot/perl@27671
Diffstat (limited to 'cop.h')
-rw-r--r--cop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cop.h b/cop.h
index 8ce6b3ebae..da9fd5b689 100644
--- a/cop.h
+++ b/cop.h
@@ -229,6 +229,11 @@ struct cop {
# define OutCopFILE(c) CopFILE(c)
#endif
+/* CopARYBASE is likely to be removed soon. */
+#define CopARYBASE(c) ((c)->cop_arybase)
+#define CopARYBASE_get(c) ((c)->cop_arybase + 0)
+#define CopARYBASE_set(c, b) STMT_START { (c)->cop_arybase = (b); } STMT_END
+
/*
* Here we have some enormously heavy (or at least ponderous) wizardry.
*/