summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-29 23:20:01 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-29 23:20:01 +0000
commita45c7426c93f17067d1734c68cb400246e1db490 (patch)
treee085a582d4f0b4b9dac9b8741884c96da1bee43a /handy.h
parent76f68e9bb86f29e34e2aeb5c177571288f05b7ca (diff)
downloadperl-a45c7426c93f17067d1734c68cb400246e1db490.tar.gz
Add MUTABLE_IO(), and eliminate (IO *) casts in *.c.
p4raw-id: //depot/perl@34654
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 32239b9ee3..d488922a44 100644
--- a/handy.h
+++ b/handy.h
@@ -57,6 +57,7 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.)
#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_IO(p) ((IO *)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