mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'wip/smcv/redundant-type-assertions' into 'main'
Revert "glib-init: Add more static assertions for gintptr, guintptr" See merge request GNOME/glib!3263
This commit is contained in:
commit
d5bf03cbcb
@ -141,9 +141,6 @@ G_STATIC_ASSERT (sizeof (gintptr) == sizeof (intptr_t));
|
||||
G_STATIC_ASSERT (sizeof (guintptr) == sizeof (uintptr_t));
|
||||
G_STATIC_ASSERT (G_ALIGNOF (gintptr) == G_ALIGNOF (intptr_t));
|
||||
G_STATIC_ASSERT (G_ALIGNOF (guintptr) == G_ALIGNOF (uintptr_t));
|
||||
/* True by definition */
|
||||
G_STATIC_ASSERT (sizeof (gintptr) >= sizeof (void *));
|
||||
G_STATIC_ASSERT (sizeof (guintptr) >= sizeof (void *));
|
||||
|
||||
G_STATIC_ASSERT (sizeof (gint8) == sizeof (int8_t));
|
||||
G_STATIC_ASSERT (sizeof (guint8) == sizeof (uint8_t));
|
||||
|
Loading…
Reference in New Issue
Block a user