summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-27 21:23:04 +0000
committerDavid Mitchell <davem@iabyn.com>2009-03-29 21:51:04 +0100
commitbd9a69e86d2937c1c7cd62289e6875e6921f7d05 (patch)
tree33b2ed379c1560e8a7cd2ded29c87d44e5c2c728 /handy.h
parent2a753ebd90d8f342ca7409921609457115214669 (diff)
downloadperl-bd9a69e86d2937c1c7cd62289e6875e6921f7d05.tar.gz
Add MUTABLE_AV(), and remove (AV *) casts from headers.
p4raw-id: //depot/perl@34608 (cherry picked from commit a062e10d14f53c3718ae4dbf13be27233d85afcc)
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index 6a28657a1b..64df83f93b 100644
--- a/handy.h
+++ b/handy.h
@@ -52,6 +52,7 @@ Null SV pointer.
# define MUTABLE_PTR(p) ((void *) (p))
#endif
+#define MUTABLE_AV(p) ((AV *)MUTABLE_PTR(p))
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))
/* XXX Configure ought to have a test for a boolean type, if I can