Use G_STATIC_ASSERT_EXPR for size checks in atomic macros
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 May 2011 04:04:10 +0000 (00:04 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 May 2011 04:04:10 +0000 (00:04 -0400)
commit7cf112225399ffa262082727bf4f434d57568e30
treeff72c0a5f0a64aa6c22cc4688472e941c1f4a4ef
parentedd65baa6d9f6b951f093a15b6fcb5771e3397e0
Use G_STATIC_ASSERT_EXPR for size checks in atomic macros

Also add the same size checks to the macros wrapping
gcc builtins.
glib/gatomic.h