annotate tests/test-wchar-c++.cc @ 40196:e63f5d3edab5

relocatable-prog: Update documentation. * doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes.
author Bruno Haible <bruno@clisp.org>
date Sun, 24 Feb 2019 01:49:15 +0100
parents b06060465f09
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Test of <wchar.h> substitute in C++ mode.
40057
b06060465f09 maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents: 19484
diff changeset
2 Copyright (C) 2010-2019 Free Software Foundation, Inc.
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software: you can redistribute it and/or modify
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 the Free Software Foundation; either version 3 of the License, or
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 (at your option) any later version.
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 GNU General Public License for more details.
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
19190
9759915b2aca all: prefer https: URLs
Paul Eggert <eggert@cs.ucla.edu>
parents: 18868
diff changeset
15 along with this program. If not, see <https://www.gnu.org/licenses/>. */
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 /* Written by Bruno Haible <bruno@clisp.org>, 2010. */
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 #define GNULIB_NAMESPACE gnulib
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 #include <config.h>
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 #include <wchar.h>
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 #include "signature.h"
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
27 #if GNULIB_TEST_BTOWC
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 SIGNATURE_CHECK (GNULIB_NAMESPACE::btowc, wint_t, (int));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
31 #if GNULIB_TEST_WCTOB
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 SIGNATURE_CHECK (GNULIB_NAMESPACE::wctob, int, (wint_t));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
35 #if GNULIB_TEST_MBSINIT
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbsinit, int, (const mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
39 #if GNULIB_TEST_MBRTOWC
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbrtowc, size_t,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 (wchar_t *, const char *, size_t, mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
44 #if GNULIB_TEST_MBRLEN
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbrlen, size_t,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 (const char *, size_t, mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
49 #if GNULIB_TEST_MBSRTOWCS
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbsrtowcs, size_t,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51 (wchar_t *, const char **, size_t, mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
53
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
54 #if GNULIB_TEST_MBSNRTOWCS
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
55 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbsnrtowcs, size_t,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
56 (wchar_t *, const char **, size_t, size_t, mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
57 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
58
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
59 #if GNULIB_TEST_WCRTOMB
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
60 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcrtomb, size_t,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
61 (char *, wchar_t, mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
62 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
63
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
64 #if GNULIB_TEST_WCSRTOMBS
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
65 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsrtombs, size_t,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
66 (char *, const wchar_t **, size_t, mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
67 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
68
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
69 #if GNULIB_TEST_WCSNRTOMBS
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
70 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsnrtombs, size_t,
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
71 (char *, const wchar_t **, size_t, size_t, mbstate_t *));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
72 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
73
13073
03de1efbfdd3 Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents: 12974
diff changeset
74 #if GNULIB_TEST_WCWIDTH
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
75 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcwidth, int, (wchar_t));
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
76 #endif
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
77
14267
9ccff8d6fbbe New module 'wmemchr'.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
78 #if GNULIB_TEST_WMEMCHR
9ccff8d6fbbe New module 'wmemchr'.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
79 SIGNATURE_CHECK (GNULIB_NAMESPACE::wmemchr, wchar_t *,
9ccff8d6fbbe New module 'wmemchr'.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
80 (const wchar_t *, wchar_t, size_t));
9ccff8d6fbbe New module 'wmemchr'.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
81 #endif
9ccff8d6fbbe New module 'wmemchr'.
Bruno Haible <bruno@clisp.org>
parents: 14079
diff changeset
82
14277
91a2110f419b New module 'wmemcmp'.
Bruno Haible <bruno@clisp.org>
parents: 14267
diff changeset
83 #if GNULIB_TEST_WMEMCMP
91a2110f419b New module 'wmemcmp'.
Bruno Haible <bruno@clisp.org>
parents: 14267
diff changeset
84 SIGNATURE_CHECK (GNULIB_NAMESPACE::wmemcmp, int,
91a2110f419b New module 'wmemcmp'.
Bruno Haible <bruno@clisp.org>
parents: 14267
diff changeset
85 (const wchar_t *, const wchar_t *, size_t));
91a2110f419b New module 'wmemcmp'.
Bruno Haible <bruno@clisp.org>
parents: 14267
diff changeset
86 #endif
91a2110f419b New module 'wmemcmp'.
Bruno Haible <bruno@clisp.org>
parents: 14267
diff changeset
87
14278
fe5382375992 New module 'wmemcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14277
diff changeset
88 #if GNULIB_TEST_WMEMCPY
fe5382375992 New module 'wmemcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14277
diff changeset
89 SIGNATURE_CHECK (GNULIB_NAMESPACE::wmemcpy, wchar_t *,
fe5382375992 New module 'wmemcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14277
diff changeset
90 (wchar_t *, const wchar_t *, size_t));
fe5382375992 New module 'wmemcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14277
diff changeset
91 #endif
fe5382375992 New module 'wmemcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14277
diff changeset
92
14279
2a7d15223d39 New module 'wmemmove'.
Bruno Haible <bruno@clisp.org>
parents: 14278
diff changeset
93 #if GNULIB_TEST_WMEMMOVE
2a7d15223d39 New module 'wmemmove'.
Bruno Haible <bruno@clisp.org>
parents: 14278
diff changeset
94 SIGNATURE_CHECK (GNULIB_NAMESPACE::wmemmove, wchar_t *,
2a7d15223d39 New module 'wmemmove'.
Bruno Haible <bruno@clisp.org>
parents: 14278
diff changeset
95 (wchar_t *, const wchar_t *, size_t));
2a7d15223d39 New module 'wmemmove'.
Bruno Haible <bruno@clisp.org>
parents: 14278
diff changeset
96 #endif
2a7d15223d39 New module 'wmemmove'.
Bruno Haible <bruno@clisp.org>
parents: 14278
diff changeset
97
14280
ac540ec36bef New module 'wmemset'.
Bruno Haible <bruno@clisp.org>
parents: 14279
diff changeset
98 #if GNULIB_TEST_WMEMSET
ac540ec36bef New module 'wmemset'.
Bruno Haible <bruno@clisp.org>
parents: 14279
diff changeset
99 SIGNATURE_CHECK (GNULIB_NAMESPACE::wmemset, wchar_t *,
ac540ec36bef New module 'wmemset'.
Bruno Haible <bruno@clisp.org>
parents: 14279
diff changeset
100 (wchar_t *, wchar_t, size_t));
ac540ec36bef New module 'wmemset'.
Bruno Haible <bruno@clisp.org>
parents: 14279
diff changeset
101 #endif
ac540ec36bef New module 'wmemset'.
Bruno Haible <bruno@clisp.org>
parents: 14279
diff changeset
102
14281
cae17a11c789 New module 'wcslen'.
Bruno Haible <bruno@clisp.org>
parents: 14280
diff changeset
103 #if GNULIB_TEST_WCSLEN
cae17a11c789 New module 'wcslen'.
Bruno Haible <bruno@clisp.org>
parents: 14280
diff changeset
104 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcslen, size_t, (const wchar_t *));
cae17a11c789 New module 'wcslen'.
Bruno Haible <bruno@clisp.org>
parents: 14280
diff changeset
105 #endif
cae17a11c789 New module 'wcslen'.
Bruno Haible <bruno@clisp.org>
parents: 14280
diff changeset
106
14282
3e1169cfa252 New module 'wcsnlen'.
Bruno Haible <bruno@clisp.org>
parents: 14281
diff changeset
107 #if GNULIB_TEST_WCSNLEN
3e1169cfa252 New module 'wcsnlen'.
Bruno Haible <bruno@clisp.org>
parents: 14281
diff changeset
108 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsnlen, size_t, (const wchar_t *, size_t));
3e1169cfa252 New module 'wcsnlen'.
Bruno Haible <bruno@clisp.org>
parents: 14281
diff changeset
109 #endif
3e1169cfa252 New module 'wcsnlen'.
Bruno Haible <bruno@clisp.org>
parents: 14281
diff changeset
110
14283
f6f1da9d12f7 New module 'wcscpy'.
Bruno Haible <bruno@clisp.org>
parents: 14282
diff changeset
111 #if GNULIB_TEST_WCSCPY
f6f1da9d12f7 New module 'wcscpy'.
Bruno Haible <bruno@clisp.org>
parents: 14282
diff changeset
112 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcscpy, wchar_t *,
f6f1da9d12f7 New module 'wcscpy'.
Bruno Haible <bruno@clisp.org>
parents: 14282
diff changeset
113 (wchar_t *, const wchar_t *));
f6f1da9d12f7 New module 'wcscpy'.
Bruno Haible <bruno@clisp.org>
parents: 14282
diff changeset
114 #endif
f6f1da9d12f7 New module 'wcscpy'.
Bruno Haible <bruno@clisp.org>
parents: 14282
diff changeset
115
14284
252e51b8dd78 New module 'wcpcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14283
diff changeset
116 #if GNULIB_TEST_WCPCPY
252e51b8dd78 New module 'wcpcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14283
diff changeset
117 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcpcpy, wchar_t *,
252e51b8dd78 New module 'wcpcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14283
diff changeset
118 (wchar_t *, const wchar_t *));
252e51b8dd78 New module 'wcpcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14283
diff changeset
119 #endif
252e51b8dd78 New module 'wcpcpy'.
Bruno Haible <bruno@clisp.org>
parents: 14283
diff changeset
120
14285
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14284
diff changeset
121 #if GNULIB_TEST_WCSNCPY
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14284
diff changeset
122 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsncpy, wchar_t *,
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14284
diff changeset
123 (wchar_t *, const wchar_t *, size_t));
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14284
diff changeset
124 #endif
46d0f7a51cc0 New module 'wcsncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14284
diff changeset
125
14286
c436f87485c4 New module 'wcpncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14285
diff changeset
126 #if GNULIB_TEST_WCPNCPY
c436f87485c4 New module 'wcpncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14285
diff changeset
127 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcpncpy, wchar_t *,
c436f87485c4 New module 'wcpncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14285
diff changeset
128 (wchar_t *, const wchar_t *, size_t));
c436f87485c4 New module 'wcpncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14285
diff changeset
129 #endif
c436f87485c4 New module 'wcpncpy'.
Bruno Haible <bruno@clisp.org>
parents: 14285
diff changeset
130
14287
783f910af794 New module 'wcscat'.
Bruno Haible <bruno@clisp.org>
parents: 14286
diff changeset
131 #if GNULIB_TEST_WCSCAT
783f910af794 New module 'wcscat'.
Bruno Haible <bruno@clisp.org>
parents: 14286
diff changeset
132 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcscat, wchar_t *,
783f910af794 New module 'wcscat'.
Bruno Haible <bruno@clisp.org>
parents: 14286
diff changeset
133 (wchar_t *, const wchar_t *));
783f910af794 New module 'wcscat'.
Bruno Haible <bruno@clisp.org>
parents: 14286
diff changeset
134 #endif
783f910af794 New module 'wcscat'.
Bruno Haible <bruno@clisp.org>
parents: 14286
diff changeset
135
14288
75ffd7ebdec7 New module 'wcsncat'.
Bruno Haible <bruno@clisp.org>
parents: 14287
diff changeset
136 #if GNULIB_TEST_WCSNCAT
75ffd7ebdec7 New module 'wcsncat'.
Bruno Haible <bruno@clisp.org>
parents: 14287
diff changeset
137 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsncat, wchar_t *,
75ffd7ebdec7 New module 'wcsncat'.
Bruno Haible <bruno@clisp.org>
parents: 14287
diff changeset
138 (wchar_t *, const wchar_t *, size_t));
75ffd7ebdec7 New module 'wcsncat'.
Bruno Haible <bruno@clisp.org>
parents: 14287
diff changeset
139 #endif
75ffd7ebdec7 New module 'wcsncat'.
Bruno Haible <bruno@clisp.org>
parents: 14287
diff changeset
140
14289
b5843d4d8441 New module 'wcscmp'.
Bruno Haible <bruno@clisp.org>
parents: 14288
diff changeset
141 #if GNULIB_TEST_WCSCMP
b5843d4d8441 New module 'wcscmp'.
Bruno Haible <bruno@clisp.org>
parents: 14288
diff changeset
142 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcscmp, int,
b5843d4d8441 New module 'wcscmp'.
Bruno Haible <bruno@clisp.org>
parents: 14288
diff changeset
143 (const wchar_t *, const wchar_t *));
b5843d4d8441 New module 'wcscmp'.
Bruno Haible <bruno@clisp.org>
parents: 14288
diff changeset
144 #endif
b5843d4d8441 New module 'wcscmp'.
Bruno Haible <bruno@clisp.org>
parents: 14288
diff changeset
145
14290
0da9f0fe36fe New module 'wcsncmp'.
Bruno Haible <bruno@clisp.org>
parents: 14289
diff changeset
146 #if GNULIB_TEST_WCSNCMP
0da9f0fe36fe New module 'wcsncmp'.
Bruno Haible <bruno@clisp.org>
parents: 14289
diff changeset
147 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsncmp, int,
0da9f0fe36fe New module 'wcsncmp'.
Bruno Haible <bruno@clisp.org>
parents: 14289
diff changeset
148 (const wchar_t *, const wchar_t *, size_t));
0da9f0fe36fe New module 'wcsncmp'.
Bruno Haible <bruno@clisp.org>
parents: 14289
diff changeset
149 #endif
0da9f0fe36fe New module 'wcsncmp'.
Bruno Haible <bruno@clisp.org>
parents: 14289
diff changeset
150
14291
517e0af1a79b New module 'wcscasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14290
diff changeset
151 #if GNULIB_TEST_WCSCASECMP
517e0af1a79b New module 'wcscasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14290
diff changeset
152 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcscasecmp, int,
517e0af1a79b New module 'wcscasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14290
diff changeset
153 (const wchar_t *, const wchar_t *));
517e0af1a79b New module 'wcscasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14290
diff changeset
154 #endif
517e0af1a79b New module 'wcscasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14290
diff changeset
155
14292
ba9661869dda New module 'wcsncasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14291
diff changeset
156 #if GNULIB_TEST_WCSNCASECMP
ba9661869dda New module 'wcsncasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14291
diff changeset
157 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsncasecmp, int,
ba9661869dda New module 'wcsncasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14291
diff changeset
158 (const wchar_t *, const wchar_t *, size_t));
ba9661869dda New module 'wcsncasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14291
diff changeset
159 #endif
ba9661869dda New module 'wcsncasecmp'.
Bruno Haible <bruno@clisp.org>
parents: 14291
diff changeset
160
14293
13e6946b4e9a New module 'wcscoll'.
Bruno Haible <bruno@clisp.org>
parents: 14292
diff changeset
161 #if GNULIB_TEST_WCSCOLL
13e6946b4e9a New module 'wcscoll'.
Bruno Haible <bruno@clisp.org>
parents: 14292
diff changeset
162 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcscoll, int,
13e6946b4e9a New module 'wcscoll'.
Bruno Haible <bruno@clisp.org>
parents: 14292
diff changeset
163 (const wchar_t *, const wchar_t *));
13e6946b4e9a New module 'wcscoll'.
Bruno Haible <bruno@clisp.org>
parents: 14292
diff changeset
164 #endif
13e6946b4e9a New module 'wcscoll'.
Bruno Haible <bruno@clisp.org>
parents: 14292
diff changeset
165
14294
b19db9397852 New module 'wcsxfrm'.
Bruno Haible <bruno@clisp.org>
parents: 14293
diff changeset
166 #if GNULIB_TEST_WCSXFRM
b19db9397852 New module 'wcsxfrm'.
Bruno Haible <bruno@clisp.org>
parents: 14293
diff changeset
167 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsxfrm, size_t,
b19db9397852 New module 'wcsxfrm'.
Bruno Haible <bruno@clisp.org>
parents: 14293
diff changeset
168 (wchar_t *, const wchar_t *, size_t));
b19db9397852 New module 'wcsxfrm'.
Bruno Haible <bruno@clisp.org>
parents: 14293
diff changeset
169 #endif
b19db9397852 New module 'wcsxfrm'.
Bruno Haible <bruno@clisp.org>
parents: 14293
diff changeset
170
14295
34809a158a33 New module 'wcsdup'.
Bruno Haible <bruno@clisp.org>
parents: 14294
diff changeset
171 #if GNULIB_TEST_WCSDUP
34809a158a33 New module 'wcsdup'.
Bruno Haible <bruno@clisp.org>
parents: 14294
diff changeset
172 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsdup, wchar_t *, (const wchar_t *));
34809a158a33 New module 'wcsdup'.
Bruno Haible <bruno@clisp.org>
parents: 14294
diff changeset
173 #endif
34809a158a33 New module 'wcsdup'.
Bruno Haible <bruno@clisp.org>
parents: 14294
diff changeset
174
14296
932d02b6b200 New module 'wcschr'.
Bruno Haible <bruno@clisp.org>
parents: 14295
diff changeset
175 #if GNULIB_TEST_WCSCHR
932d02b6b200 New module 'wcschr'.
Bruno Haible <bruno@clisp.org>
parents: 14295
diff changeset
176 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcschr, wchar_t *,
932d02b6b200 New module 'wcschr'.
Bruno Haible <bruno@clisp.org>
parents: 14295
diff changeset
177 (const wchar_t *, wchar_t));
932d02b6b200 New module 'wcschr'.
Bruno Haible <bruno@clisp.org>
parents: 14295
diff changeset
178 #endif
932d02b6b200 New module 'wcschr'.
Bruno Haible <bruno@clisp.org>
parents: 14295
diff changeset
179
14297
029111e5ac51 New module 'wcsrchr'.
Bruno Haible <bruno@clisp.org>
parents: 14296
diff changeset
180 #if GNULIB_TEST_WCSRCHR
029111e5ac51 New module 'wcsrchr'.
Bruno Haible <bruno@clisp.org>
parents: 14296
diff changeset
181 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsrchr, wchar_t *,
029111e5ac51 New module 'wcsrchr'.
Bruno Haible <bruno@clisp.org>
parents: 14296
diff changeset
182 (const wchar_t *, wchar_t));
029111e5ac51 New module 'wcsrchr'.
Bruno Haible <bruno@clisp.org>
parents: 14296
diff changeset
183 #endif
029111e5ac51 New module 'wcsrchr'.
Bruno Haible <bruno@clisp.org>
parents: 14296
diff changeset
184
14298
f0c82d0c08e6 New module 'wcscspn'.
Bruno Haible <bruno@clisp.org>
parents: 14297
diff changeset
185 #if GNULIB_TEST_WCSCSPN
f0c82d0c08e6 New module 'wcscspn'.
Bruno Haible <bruno@clisp.org>
parents: 14297
diff changeset
186 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcscspn, size_t,
f0c82d0c08e6 New module 'wcscspn'.
Bruno Haible <bruno@clisp.org>
parents: 14297
diff changeset
187 (const wchar_t *, const wchar_t *));
f0c82d0c08e6 New module 'wcscspn'.
Bruno Haible <bruno@clisp.org>
parents: 14297
diff changeset
188 #endif
f0c82d0c08e6 New module 'wcscspn'.
Bruno Haible <bruno@clisp.org>
parents: 14297
diff changeset
189
14299
0d372bfa8a0f New module 'wcsspn'.
Bruno Haible <bruno@clisp.org>
parents: 14298
diff changeset
190 #if GNULIB_TEST_WCSSPN
0d372bfa8a0f New module 'wcsspn'.
Bruno Haible <bruno@clisp.org>
parents: 14298
diff changeset
191 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsspn, size_t,
0d372bfa8a0f New module 'wcsspn'.
Bruno Haible <bruno@clisp.org>
parents: 14298
diff changeset
192 (const wchar_t *, const wchar_t *));
0d372bfa8a0f New module 'wcsspn'.
Bruno Haible <bruno@clisp.org>
parents: 14298
diff changeset
193 #endif
0d372bfa8a0f New module 'wcsspn'.
Bruno Haible <bruno@clisp.org>
parents: 14298
diff changeset
194
14300
31285699a61f New module 'wcspbrk'.
Bruno Haible <bruno@clisp.org>
parents: 14299
diff changeset
195 #if GNULIB_TEST_WCSPBRK
31285699a61f New module 'wcspbrk'.
Bruno Haible <bruno@clisp.org>
parents: 14299
diff changeset
196 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcspbrk, wchar_t *,
31285699a61f New module 'wcspbrk'.
Bruno Haible <bruno@clisp.org>
parents: 14299
diff changeset
197 (const wchar_t *, const wchar_t *));
31285699a61f New module 'wcspbrk'.
Bruno Haible <bruno@clisp.org>
parents: 14299
diff changeset
198 #endif
31285699a61f New module 'wcspbrk'.
Bruno Haible <bruno@clisp.org>
parents: 14299
diff changeset
199
14301
b58bcfabff09 New module 'wcsstr'.
Bruno Haible <bruno@clisp.org>
parents: 14300
diff changeset
200 #if GNULIB_TEST_WCSSTR
b58bcfabff09 New module 'wcsstr'.
Bruno Haible <bruno@clisp.org>
parents: 14300
diff changeset
201 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsstr, wchar_t *,
b58bcfabff09 New module 'wcsstr'.
Bruno Haible <bruno@clisp.org>
parents: 14300
diff changeset
202 (const wchar_t *, const wchar_t *));
b58bcfabff09 New module 'wcsstr'.
Bruno Haible <bruno@clisp.org>
parents: 14300
diff changeset
203 #endif
b58bcfabff09 New module 'wcsstr'.
Bruno Haible <bruno@clisp.org>
parents: 14300
diff changeset
204
14302
952e98e7b703 New module 'wcstok'.
Bruno Haible <bruno@clisp.org>
parents: 14301
diff changeset
205 #if GNULIB_TEST_WCSTOK
952e98e7b703 New module 'wcstok'.
Bruno Haible <bruno@clisp.org>
parents: 14301
diff changeset
206 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcstok, wchar_t *,
952e98e7b703 New module 'wcstok'.
Bruno Haible <bruno@clisp.org>
parents: 14301
diff changeset
207 (wchar_t *, const wchar_t *, wchar_t **));
952e98e7b703 New module 'wcstok'.
Bruno Haible <bruno@clisp.org>
parents: 14301
diff changeset
208 #endif
952e98e7b703 New module 'wcstok'.
Bruno Haible <bruno@clisp.org>
parents: 14301
diff changeset
209
14303
7357862f4745 New module 'wcswidth'.
Bruno Haible <bruno@clisp.org>
parents: 14302
diff changeset
210 #if GNULIB_TEST_WCSWIDTH
7357862f4745 New module 'wcswidth'.
Bruno Haible <bruno@clisp.org>
parents: 14302
diff changeset
211 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcswidth, int, (const wchar_t *, size_t));
7357862f4745 New module 'wcswidth'.
Bruno Haible <bruno@clisp.org>
parents: 14302
diff changeset
212 #endif
7357862f4745 New module 'wcswidth'.
Bruno Haible <bruno@clisp.org>
parents: 14302
diff changeset
213
18868
529d49482ea3 wchar-c++-tests: Update.
Bruno Haible <bruno@clisp.org>
parents: 18626
diff changeset
214 #if GNULIB_TEST_WCSFTIME
529d49482ea3 wchar-c++-tests: Update.
Bruno Haible <bruno@clisp.org>
parents: 18626
diff changeset
215 SIGNATURE_CHECK (GNULIB_NAMESPACE::wcsftime, size_t,
529d49482ea3 wchar-c++-tests: Update.
Bruno Haible <bruno@clisp.org>
parents: 18626
diff changeset
216 (wchar_t *, size_t, const wchar_t *, const struct tm *));
529d49482ea3 wchar-c++-tests: Update.
Bruno Haible <bruno@clisp.org>
parents: 18626
diff changeset
217 #endif
529d49482ea3 wchar-c++-tests: Update.
Bruno Haible <bruno@clisp.org>
parents: 18626
diff changeset
218
12974
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
219
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
220 int
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
221 main ()
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
222 {
61705dab4021 Tests of module 'wchar' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
223 }