diff options
author | Bruno Haible <bruno@clisp.org> | 2009-03-08 16:44:14 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-03-08 16:44:14 +0100 |
commit | 8dd5f0376795e2d60078e4335eed1bf9c11f3b2c (patch) | |
tree | 8529d3578f6a191fc0d87ffc4d91194a14a0e00d /lib/unicase/u16-casecoll.c | |
parent | f179e6660e7074bb0b9bdb76e187ed1e30c9a663 (diff) | |
download | gnulib-8dd5f0376795e2d60078e4335eed1bf9c11f3b2c.tar.gz |
New module 'unicase/u16-casecoll'.
Diffstat (limited to 'lib/unicase/u16-casecoll.c')
-rw-r--r-- | lib/unicase/u16-casecoll.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/unicase/u16-casecoll.c b/lib/unicase/u16-casecoll.c new file mode 100644 index 0000000000..882039cfbc --- /dev/null +++ b/lib/unicase/u16-casecoll.c @@ -0,0 +1,32 @@ +/* Locale dependent, case and normalization insensitive comparison of UTF-16 + strings. + Copyright (C) 2009 Free Software Foundation, Inc. + Written by Bruno Haible <bruno@clisp.org>, 2009. + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#include <config.h> + +/* Specification. */ +#include "unicase.h" + +#include <errno.h> +#include <stdlib.h> + +#include "memcmp2.h" + +#define FUNC u16_casecoll +#define UNIT uint16_t +#define U_CASEXFRM u16_casexfrm +#include "u-casecoll.h" |