Add -DPURIFY sizes to body_sizes[]
authorNicholas Clark <nick@ccl4.org>
Fri, 6 May 2011 19:07:10 +0000 (21:07 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 9 May 2011 19:50:01 +0000 (21:50 +0200)
commitf73dcfce7506b8a7aed31ba357d14aec27cb74d0
tree393fe7e369ce978547906d28f1b95e18d5279994
parentb6558d1de5351fab457d9d98ce3f8a5f17b87a91
Add -DPURIFY sizes to body_sizes[]

Use two macros to simplify the logic - MAYBE_OFFSET() where the normal version
subtracts a STRUCT_OFFSET(), and the purify version subtracts nothing, and
MAYBE_PURIFY() where there is not a simple relationship between the two sizes.
Size.xs