summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-29 21:57:34 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-29 21:57:34 +0000
commitea726b52599b52cf534201a46ec3455418c9eb8e (patch)
tree4206fe1b3aea75154b82cac19301cc56345b63a4 /handy.h
parent126f53f392147cb95f8643714b33fe373747680a (diff)
downloadperl-ea726b52599b52cf534201a46ec3455418c9eb8e.tar.gz
Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.
p4raw-id: //depot/perl@34647
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 446df5b2c9..32239b9ee3 100644
--- a/handy.h
+++ b/handy.h
@@ -55,6 +55,7 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.)
#endif
#define MUTABLE_AV(p) ((AV *)MUTABLE_PTR(p))
+#define MUTABLE_CV(p) ((CV *)MUTABLE_PTR(p))
#define MUTABLE_HV(p) ((HV *)MUTABLE_PTR(p))
#define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p))