From: Bruno Haible <bruno@clisp.org>
Date: Sun, 8 Feb 2009 20:21:34 +0000 (+0100)
Subject: New module 'unicase/tolower'.
X-Git-Tag: v0.1~6343
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=95be56035a5cdeb2488e3d74767f9f79ec6a38a4;p=gnulib.git

New module 'unicase/tolower'.
---

diff --git a/ChangeLog b/ChangeLog
index 6cb47451c5..26e5a430ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-02-08  Bruno Haible  <bruno@clisp.org>
 
+	New module 'unicase/tolower'.
+	* modules/unicase/tolower: New file.
+	* lib/unicase/tolower.c: New file.
+
 	New module 'unicase/toupper'.
 	* modules/unicase/toupper: New file.
 	* lib/unicase/toupper.c: New file.
diff --git a/lib/unicase/tolower.c b/lib/unicase/tolower.c
new file mode 100644
index 0000000000..5ed0c6d2ae
--- /dev/null
+++ b/lib/unicase/tolower.c
@@ -0,0 +1,27 @@
+/* Lowercase 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 "tolower.h"
+
+#define FUNC uc_tolower
+#include "simple-mapping.h"
diff --git a/modules/unicase/tolower b/modules/unicase/tolower
new file mode 100644
index 0000000000..8c34b09539
--- /dev/null
+++ b/modules/unicase/tolower
@@ -0,0 +1,25 @@
+Description:
+Lowercase mapping for Unicode characters (locale and context independent).
+
+Files:
+lib/unicase/tolower.c
+lib/unicase/tolower.h
+lib/unicase/simple-mapping.h
+
+Depends-on:
+unicase/base
+
+configure.ac:
+
+Makefile.am:
+lib_SOURCES += unicase/tolower.c
+
+Include:
+"unicase.h"
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
+