From 21c280301ada47651a51ed57a39f5db2ad23a0e5 Mon Sep 17 00:00:00 2001 From: Bruno Haible 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 26e5a430c..2437436c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-02-08 Bruno Haible + 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 000000000..0ca5a45b2 --- /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 , 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 "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 000000000..ad457c4fc --- /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.11.0