X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funinorm%2Fnormalize-internal.h;h=0b346c65898277c03392b5101c9b036b123478ef;hb=5a21606b0d57082670bd060d169492c2f3a410f2;hp=e1ef9c48f4a2a8106351b59d09935fdbced1e779;hpb=bd606be378ddd8404641cad023dd43f1f676b26e;p=gnulib.git diff --git a/lib/uninorm/normalize-internal.h b/lib/uninorm/normalize-internal.h index e1ef9c48f..0b346c658 100644 --- a/lib/uninorm/normalize-internal.h +++ b/lib/uninorm/normalize-internal.h @@ -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; };