summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-29 21:57:34 +0000
committerDavid Mitchell <davem@iabyn.com>2009-03-29 22:15:49 +0100
commit37f7fe9446f052f7c8f3514f56cf0f0615b6f270 (patch)
treef401e1c6e58368b9a51a0df7d3c89a8c14a23674 /handy.h
parent51bd628b2a7a4f2c9f2b43ce53fbd07b6ca27f41 (diff)
downloadperl-37f7fe9446f052f7c8f3514f56cf0f0615b6f270.tar.gz
Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.
p4raw-id: //depot/perl@34647 (cherry-picked from commit ea726b52599b52cf534201a46ec3455418c9eb8e)
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 ce5197f18c..48ab1c67d2 100644
--- a/handy.h
+++ b/handy.h
@@ -53,6 +53,7 @@ Null SV pointer.
#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))