summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-27 21:23:04 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-27 21:23:04 +0000
commita062e10d14f53c3718ae4dbf13be27233d85afcc (patch)
treec04ad988e99e4285aa0ab6aa2a785c66b96d6027 /handy.h
parentfa89a9aebf1b4fa7904c5313f1e40c0db445379c (diff)
downloadperl-a062e10d14f53c3718ae4dbf13be27233d85afcc.tar.gz
Add MUTABLE_AV(), and remove (AV *) casts from headers.
p4raw-id: //depot/perl@34608
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 d6a9026740..cd6e4cb896 100644
--- a/handy.h
+++ b/handy.h
@@ -54,6 +54,7 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.)
# 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