From 95be56035a5cdeb2488e3d74767f9f79ec6a38a4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 8 Feb 2009 21:21:34 +0100 Subject: [PATCH] New module 'unicase/tolower'. --- ChangeLog | 4 ++++ lib/unicase/tolower.c | 27 +++++++++++++++++++++++++++ modules/unicase/tolower | 25 +++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 lib/unicase/tolower.c create mode 100644 modules/unicase/tolower diff --git a/ChangeLog b/ChangeLog index 6cb47451c..26e5a430c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-02-08 Bruno Haible + 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 000000000..5ed0c6d2a --- /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 , 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 . */ + +#include + +/* 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 000000000..8c34b0953 --- /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 + -- 2.11.0