changeset 11143:7f00fae135db

New module 'unicase/tolower'.
author Bruno Haible <bruno@clisp.org>
date Sun, 08 Feb 2009 21:21:34 +0100
parents 5f2e1956ca74
children 68ee9f3f048c
files ChangeLog lib/unicase/tolower.c modules/unicase/tolower
diffstat 3 files changed, 56 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
new file mode 100644
--- /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"
new file mode 100644
--- /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
+