[kdbus] KDBUS_ITEM_PAYLOAD_OFF items are (once again) relative to msg header
[platform/upstream/glib.git] / glib / glib-init.c
index be573a7..24efe9d 100644 (file)
@@ -35,6 +35,9 @@
 /* This seems as good a place as any to make static assertions about platform
  * assumptions we make throughout GLib. */
 
+/* We do not support 36-bit bytes or other historical curiosities. */
+G_STATIC_ASSERT (CHAR_BIT == 8);
+
 /* We assume that data pointers are the same size as function pointers... */
 G_STATIC_ASSERT (sizeof (gpointer) == sizeof (GFunc));
 G_STATIC_ASSERT (_g_alignof (gpointer) == _g_alignof (GFunc));
@@ -46,7 +49,7 @@ G_STATIC_ASSERT (_g_alignof (GFunc) == _g_alignof (GCompareDataFunc));
  * g_mem_gc_friendly:
  *
  * This variable is %TRUE if the `G_DEBUG` environment variable
- * includes the key <literal>gc-friendly</literal>.
+ * includes the key `gc-friendly`.
  */
 #ifdef ENABLE_GC_FRIENDLY_DEFAULT
 gboolean g_mem_gc_friendly = TRUE;