dbus-marshal-basic: assert that the size and (on gcc) alignment of all types is as...
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 21 Jun 2011 16:02:10 +0000 (17:02 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 11 Aug 2011 10:51:55 +0000 (11:51 +0100)
commit6327adafe20603fce3c7507e20f300e07398b517
tree8de69cef19b830373d24c2b1aa558554e2856f91
parent213acdb71c9ba679b75bff95de25d126bb659465
dbus-marshal-basic: assert that the size and (on gcc) alignment of all types is as expected

The __alignof__() checks here will fail if compiling for an architecture
where more-than-natural alignment is needed.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39636
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
dbus/dbus-marshal-basic.c