From: Bruno Haible Date: Mon, 29 Jun 2009 21:35:47 +0000 (+0200) Subject: New module 'unicase/empty-prefix-context'. X-Git-Tag: v0.1~5822 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=db973a4d3d78bb6e14f063010600b3b44bb14097;p=gnulib.git New module 'unicase/empty-prefix-context'. --- diff --git a/ChangeLog b/ChangeLog index 4eb02781a..addbe271a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-06-29 Bruno Haible + New module 'unicase/empty-prefix-context'. + * lib/unicase/empty-prefix-context.c: New file. + * modules/unicase/empty-prefix-context: New file. + New module 'unicase/ignorable'. * lib/unicase/ignorable.c: New file. * modules/unicase/ignorable: New file. diff --git a/lib/unicase/empty-prefix-context.c b/lib/unicase/empty-prefix-context.c new file mode 100644 index 000000000..3c46e9e3b --- /dev/null +++ b/lib/unicase/empty-prefix-context.c @@ -0,0 +1,27 @@ +/* Case-mapping context of empty prefix string. + Copyright (C) 2009 Free Software Foundation, Inc. + Written by Bruno Haible , 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 . */ + +#include + +/* Specification. */ +#include "unicase.h" + +const casing_prefix_context_t unicase_empty_prefix_context = + { + 0xFFFD /* last_char_except_ignorable */, + 0xFFFD /* last_char_normal_or_above */ + }; diff --git a/modules/unicase/empty-prefix-context b/modules/unicase/empty-prefix-context new file mode 100644 index 000000000..faa497166 --- /dev/null +++ b/modules/unicase/empty-prefix-context @@ -0,0 +1,23 @@ +Description: +Case-mapping context of empty prefix string. + +Files: +lib/unicase/empty-prefix-context.c + +Depends-on: +unicase/base + +configure.ac: + +Makefile.am: +lib_SOURCES += unicase/empty-prefix-context.c + +Include: +"unicase.h" + +License: +LGPL + +Maintainer: +Bruno Haible +