]> mj.ucw.cz Git - libucw.git/blob - charset/toligatures.c
Opt: strdup -> xstrdup
[libucw.git] / charset / toligatures.c
1 /*
2  *      The UniCode Library -- Table of Ligatures
3  *
4  *      (c) 2003 Martin Mares <mj@ucw.cz>
5  *
6  *      This software may be freely distributed and used according to the terms
7  *      of the GNU Lesser General Public License.
8  */
9
10 #include <ucw/lib.h>
11 #include <charset/unicat.h>
12 #include <charset/U-ligatures.h>
13
14 const u16 *
15 Uexpand_lig(uns x)
16 {
17   return _U_lig_hash[x % LIG_HASH_SIZE];
18 }