Mercurial > hg > octave-kai > gnulib-hg
changeset 11187:9e0f28c297bf
New module 'uninorm/decompose-internal'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 Feb 2009 12:35:36 +0100 |
parents | 7d4f0ca17b70 |
children | 44ff96171fda |
files | ChangeLog lib/uninorm/decompose-internal.c modules/uninorm/decompose-internal |
diffstat | 3 files changed, 57 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-02-21 Bruno Haible <bruno@clisp.org> + New module 'uninorm/decompose-internal'. + * lib/uninorm/decompose-internal.c: New file. + * modules/uninorm/decompose-internal: New file. + Tests for module 'uninorm/composition'. * tests/uninorm/test-composition.c: New file. * modules/uninorm/composition-tests: New file.
new file mode 100644 --- /dev/null +++ b/lib/uninorm/decompose-internal.c @@ -0,0 +1,28 @@ +/* Decomposition of Unicode 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 "decompose-internal.h" + +#define ELEMENT struct ucs4_with_ccc +#define COMPARE(a,b) ((a)->ccc - (b)->ccc) +#define STATIC +#define merge_sort_fromto gl_uninorm_decompose_merge_sort_fromto +#define merge_sort_inplace gl_uninorm_decompose_merge_sort_inplace +#include "array-mergesort.h"
new file mode 100644 --- /dev/null +++ b/modules/uninorm/decompose-internal @@ -0,0 +1,25 @@ +Description: +Decomposition of Unicode strings. + +Files: +lib/uninorm/decompose-internal.h +lib/uninorm/decompose-internal.c + +Depends-on: +unitypes +array-mergesort + +configure.ac: + +Makefile.am: +lib_SOURCES += uninorm/decompose-internal.c + +Include: +"uninorm/decompose-internal.h" + +License: +LGPL + +Maintainer: +Bruno Haible +