annotate lib/unicase/empty-suffix-context.c @ 12879:037f6bf7ec72

Improve *printf warning condition.
author Bruno Haible <bruno@clisp.org>
date Sun, 21 Feb 2010 01:04:28 +0100
parents c2cbabec01dd
children 97fc9a21a8fb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11669
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Case-mapping context of empty suffix string.
12559
c2cbabec01dd update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents: 11702
diff changeset
2 Copyright (C) 2009-2010 Free Software Foundation, Inc.
11669
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 Written by Bruno Haible <bruno@clisp.org>, 2009.
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 This program is free software: you can redistribute it and/or modify it
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 under the terms of the GNU Lesser General Public License as published
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 by the Free Software Foundation; either version 3 of the License, or
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 (at your option) any later version.
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 This program is distributed in the hope that it will be useful,
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 Lesser General Public License for more details.
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public License
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 #include <config.h>
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 /* Specification. */
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 #include "unicase.h"
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 const casing_suffix_context_t unicase_empty_suffix_context =
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 {
11702
daa1eb869953 Reduce the number of uc_is_cased calls.
Bruno Haible <bruno@clisp.org>
parents: 11669
diff changeset
25 0xFFFD /* first_char_except_ignorable */,
daa1eb869953 Reduce the number of uc_is_cased calls.
Bruno Haible <bruno@clisp.org>
parents: 11669
diff changeset
26 0 /* bits */
11669
35b3e3eea12c New module 'unicase/empty-suffix-context'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 };