Eliminate struct regexp_allocated and xpvio_allocated.
authorNicholas Clark <nick@ccl4.org>
Fri, 17 Jul 2009 15:17:58 +0000 (16:17 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 17 Jul 2009 16:39:46 +0000 (17:39 +0100)
commitb6f609162799aa49813b53c8242464db37fcee9b
treeff78dab5934ab802fe26af0ee59e0fe5b859dc76
parentc533d96e5f6c9e94d3d34f6ff54accc877705220
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.
regcomp.c
regexp.h
sv.c
sv.h