From a062e10d14f53c3718ae4dbf13be27233d85afcc Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Mon, 27 Oct 2008 21:23:04 +0000 Subject: Add MUTABLE_AV(), and remove (AV *) casts from headers. p4raw-id: //depot/perl@34608 --- handy.h | 1 + 1 file changed, 1 insertion(+) (limited to 'handy.h') 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 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 -- cgit v1.2.1