summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-07-17 16:17:58 +0100
committerNicholas Clark <nick@ccl4.org>2009-07-17 17:39:46 +0100
commitb6f609162799aa49813b53c8242464db37fcee9b (patch)
treeff78dab5934ab802fe26af0ee59e0fe5b859dc76 /sv.h
parentc533d96e5f6c9e94d3d34f6ff54accc877705220 (diff)
downloadperl-b6f609162799aa49813b53c8242464db37fcee9b.tar.gz
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.
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sv.h b/sv.h
index b10843e4f3..0d275d25cf 100644
--- a/sv.h
+++ b/sv.h
@@ -567,12 +567,6 @@ struct xpvio {
_XPVIO_TAIL;
};
-typedef struct {
- _XPV_ALLOCATED_HEAD;
- _XPVMG_HEAD;
- _XPVIO_TAIL;
-} xpvio_allocated;
-
#define xio_dirp xio_dirpu.xiou_dirp
#define xio_any xio_dirpu.xiou_any