annotate lib/wctrans.c @ 14321:3b388f38755d

New module 'wctrans'. * modules/wctrans: New file. * lib/wctype.in.h (wctrans): New declaration. * lib/wctrans.c: New file. * lib/wctrans-impl.h: New file. * m4/wctrans.m4: New file. * m4/wctype_h.m4 (gl_WCTYPE_H): Test whether wctrans is declared. (gl_WCTYPE_H_DEFAULTS): Initialize GNULIB_WCTRANS. * modules/wctype-h (Makefile.am): Substitute GNULIB_WCTRANS. * tests/test-wctype-h-c++.cc: Test the declaration of wctrans. * doc/posix-functions/wctrans.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Mon, 07 Feb 2011 00:16:49 +0100
parents
children 8250f2777afc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14321
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Get descriptor for a wide character case conversion.
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Copyright (C) 2011 Free Software Foundation, Inc.
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 Written by Bruno Haible <bruno@clisp.org>, 2011.
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 This program is free software: you can redistribute it and/or modify
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 it under the terms of the GNU General Public License as published by
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 the Free Software Foundation; either version 3 of the License, or
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 (at your option) any later version.
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 This program is distributed in the hope that it will be useful,
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 GNU General Public License for more details.
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 You should have received a copy of the GNU General Public License
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 #include <config.h>
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 /* Specification. */
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 #include <wctype.h>
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 #include <string.h>
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24
3b388f38755d New module 'wctrans'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 #include "wctrans-impl.h"