diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-10-27 21:23:04 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2009-03-29 21:51:04 +0100 |
commit | bd9a69e86d2937c1c7cd62289e6875e6921f7d05 (patch) | |
tree | 33b2ed379c1560e8a7cd2ded29c87d44e5c2c728 /handy.h | |
parent | 2a753ebd90d8f342ca7409921609457115214669 (diff) | |
download | perl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |