New module 'unicase/empty-prefix-context'.
authorBruno Haible <bruno@clisp.org>
Mon, 29 Jun 2009 21:35:47 +0000 (23:35 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 29 Jun 2009 21:35:47 +0000 (23:35 +0200)
ChangeLog
lib/unicase/empty-prefix-context.c [new file with mode: 0644]
modules/unicase/empty-prefix-context [new file with mode: 0644]

index 4eb0278..addbe27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-06-29  Bruno Haible  <bruno@clisp.org>
 
+       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 (file)
index 0000000..3c46e9e
--- /dev/null
@@ -0,0 +1,27 @@
+/* Case-mapping context of empty prefix string.
+   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"
+
+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 (file)
index 0000000..faa4971
--- /dev/null
@@ -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
+