changeset 11665:9176ce0f0d16

New module 'unicase/empty-prefix-context'.
author Bruno Haible <bruno@clisp.org>
date Mon, 29 Jun 2009 23:35:47 +0200
parents ebdc03071f2c
children 8465b93c928a
files ChangeLog lib/unicase/empty-prefix-context.c modules/unicase/empty-prefix-context
diffstat 3 files changed, 54 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
new file mode 100644
--- /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 <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 */
+  };
new file mode 100644
--- /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
+