From 21c280301ada47651a51ed57a39f5db2ad23a0e5 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Sun, 8 Feb 2009 21:22:11 +0100
Subject: [PATCH] New module 'unicase/totitle'.

---
 ChangeLog               |  4 ++++
 lib/unicase/totitle.c   | 27 +++++++++++++++++++++++++++
 modules/unicase/totitle | 25 +++++++++++++++++++++++++
 3 files changed, 56 insertions(+)
 create mode 100644 lib/unicase/totitle.c
 create mode 100644 modules/unicase/totitle

diff --git a/ChangeLog b/ChangeLog
index 26e5a430ce..2437436c60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-02-08  Bruno Haible  <bruno@clisp.org>
 
+	New module 'unicase/totitle'.
+	* modules/unicase/totitle: New file.
+	* lib/unicase/totitle.c: New file.
+
 	New module 'unicase/tolower'.
 	* modules/unicase/tolower: New file.
 	* lib/unicase/tolower.c: New file.
diff --git a/lib/unicase/totitle.c b/lib/unicase/totitle.c
new file mode 100644
index 0000000000..0ca5a45b26
--- /dev/null
+++ b/lib/unicase/totitle.c
@@ -0,0 +1,27 @@
+/* Titlecase mapping for Unicode characters (locale and context independent).
+   Copyright (C) 2002, 2006, 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"
+
+/* Define u_mapping table.  */
+#include "totitle.h"
+
+#define FUNC uc_totitle
+#include "simple-mapping.h"
diff --git a/modules/unicase/totitle b/modules/unicase/totitle
new file mode 100644
index 0000000000..ad457c4fc8
--- /dev/null
+++ b/modules/unicase/totitle
@@ -0,0 +1,25 @@
+Description:
+Titlecase mapping for Unicode characters (locale and context independent).
+
+Files:
+lib/unicase/totitle.c
+lib/unicase/totitle.h
+lib/unicase/simple-mapping.h
+
+Depends-on:
+unicase/base
+
+configure.ac:
+
+Makefile.am:
+lib_SOURCES += unicase/totitle.c
+
+Include:
+"unicase.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
+
-- 
2.39.5