From b6f609162799aa49813b53c8242464db37fcee9b Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 17 Jul 2009 16:17:58 +0100 Subject: Eliminate struct regexp_allocated and xpvio_allocated. Calculate memory allocation using regexp and XPVIO, and the offset of the first real structure member. This avoids tripping over alignment differences between X* and x*_allocated, because x*_allocated doesn't have a double in it. --- regexp.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'regexp.h') diff --git a/regexp.h b/regexp.h index e8a8cc0d5c..fe671425d8 100644 --- a/regexp.h +++ b/regexp.h @@ -107,12 +107,6 @@ typedef struct regexp { _REGEXP_COMMON; } regexp; -struct regexp_allocated { - _XPV_ALLOCATED_HEAD; - _XPVMG_HEAD; - _REGEXP_COMMON; -}; - /* HV *paren_names; Optional hash of paren names now stored in the IV union */ -- cgit v1.2.1