/* 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)
/* 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;
};