autoupdate
[gnulib.git] / lib / uninorm / normalize-internal.h
index e1ef9c4..0b346c6 100644 (file)
@@ -22,7 +22,8 @@
 /* Complete definition of normalization form descriptor.  */
 struct unicode_normalization_form
 {
-  /* Bit mask containing meta-information.  */
+  /* Bit mask containing meta-information.
+     This must be the first field.  */
   unsigned int description;
   #define NF_IS_COMPAT_DECOMPOSING  (1 << 0)
   #define NF_IS_COMPOSING           (1 << 1)
@@ -31,4 +32,6 @@ struct unicode_normalization_form
   /* Function that combines two Unicode characters, a starter and another
      character.  */
   ucs4_t (*composer) (ucs4_t uc1, ucs4_t uc2);
+  /* Decomposing variant.  */
+  const struct unicode_normalization_form *decomposing_variant;
 };