GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: lib/libcurses/lib_gen.c Lines: 0 205 0.0 %
Date: 2017-11-07 Branches: 0 118 0.0 %

Line Branch Exec Source
1
/*
2
 * DO NOT EDIT THIS FILE BY HAND!
3
 * It is generated by /usr/src/lib/libcurses/base/MKlib_gen.sh generated.
4
 *
5
 * This is a file of trivial functions generated from macro
6
 * definitions in curses.h to satisfy the XSI Curses requirement
7
 * that every macro also exist as a callable function.
8
 *
9
 * It will never be linked unless you call one of the entry
10
 * points with its normal macro definition disabled. In that
11
 * case, if you have no shared libraries, it will indirectly
12
 * pull most of the rest of the library into your link image.
13
 */
14
#define NCURSES_ATTR_T int
15
#include <curses.priv.h>
16
17
18
#undef addch
19
NCURSES_EXPORT(int) addch (const chtype z)
20
{
21
	T((T_CALLED("addch(%s)"), _tracechtype2(0,z))); returnCode(waddch(stdscr,z));
22
}
23
24
25
#undef addchnstr
26
NCURSES_EXPORT(int) addchnstr (const chtype * a1, int z)
27
{
28
	T((T_CALLED("addchnstr(%p,%d)"), a1, z)); returnCode(waddchnstr(stdscr,a1,z));
29
}
30
31
32
#undef addchstr
33
NCURSES_EXPORT(int) addchstr (const chtype * z)
34
{
35
	T((T_CALLED("addchstr(%p)"), z)); returnCode(waddchnstr(stdscr,z,-1));
36
}
37
38
39
#undef addnstr
40
NCURSES_EXPORT(int) addnstr (const char * a1, int z)
41
{
42
	T((T_CALLED("addnstr(%s,%d)"), _nc_visbuf2(0,a1), z)); returnCode(waddnstr(stdscr,a1,z));
43
}
44
45
46
#undef addstr
47
NCURSES_EXPORT(int) addstr (const char * z)
48
{
49
	T((T_CALLED("addstr(%s)"), _nc_visbuf2(0,z))); returnCode(waddnstr(stdscr,z,-1));
50
}
51
52
53
#undef attroff
54
NCURSES_EXPORT(int) attroff (int z)
55
{
56
	T((T_CALLED("attroff(%s)"), _traceattr2(0,z))); returnCode(wattr_off(stdscr, (attr_t)(z), ((void *)0)));
57
}
58
59
60
#undef attron
61
NCURSES_EXPORT(int) attron (int z)
62
{
63
	T((T_CALLED("attron(%s)"), _traceattr2(0,z))); returnCode(wattr_on(stdscr, (attr_t)(z), ((void *)0)));
64
}
65
66
67
#undef attrset
68
NCURSES_EXPORT(int) attrset (int z)
69
{
70
	T((T_CALLED("attrset(%s)"), _traceattr2(0,z))); returnAttr(((stdscr)->_attrs = (z)));
71
}
72
73
74
#undef attr_get
75
NCURSES_EXPORT(int) attr_get (attr_t * a1, short * a2, void * z)
76
{
77
	T((T_CALLED("attr_get(%p,%p,%p)"), a1, a2, z)); returnCode(((void)((a1) != (void *)0 && (*(a1) = (stdscr)->_attrs)), (void)((a2) != (void *)0 && (*(a2) = ((int)(((((stdscr)->_attrs) & ((((1U) << 8) - 1U) << ((0) + 8))) >> 8))))), (0)));
78
}
79
80
81
#undef attr_off
82
NCURSES_EXPORT(int) attr_off (attr_t a1, void * z)
83
{
84
	T((T_CALLED("attr_off(%s,%p)"), _traceattr2(0,a1), z)); returnCode(wattr_off(stdscr,a1,z));
85
}
86
87
88
#undef attr_on
89
NCURSES_EXPORT(int) attr_on (attr_t a1, void * z)
90
{
91
	T((T_CALLED("attr_on(%s,%p)"), _traceattr2(0,a1), z)); returnCode(wattr_on(stdscr,a1,z));
92
}
93
94
95
#undef attr_set
96
NCURSES_EXPORT(int) attr_set (attr_t a1, short a2, void * z)
97
{
98
	T((T_CALLED("attr_set(%s,%d,%p)"), _traceattr2(0,a1), a2, z)); returnCode(((stdscr)->_attrs = (((a1) & ~((((1U) << 8) - 1U) << ((0) + 8))) | ((a2) << ((0) + 8))), (0)));
99
}
100
101
102
#undef bkgd
103
NCURSES_EXPORT(int) bkgd (chtype z)
104
{
105
	T((T_CALLED("bkgd(%s)"), _tracechtype2(0,z))); returnCode(wbkgd(stdscr,z));
106
}
107
108
109
#undef bkgdset
110
NCURSES_EXPORT(void) bkgdset (chtype z)
111
{
112
	T((T_CALLED("bkgdset(%s)"), _tracechtype2(0,z))); wbkgdset(stdscr,z);
113
	returnVoid;
114
}
115
116
117
#undef border
118
NCURSES_EXPORT(int) border (chtype a1, chtype a2, chtype a3, chtype a4, chtype a5, chtype a6, chtype a7, chtype z)
119
{
120
	T((T_CALLED("border(%s,%s,%s,%s,%s,%s,%s,%s)"), _tracechtype2(0,a1), _tracechtype2(1,a2), _tracechtype2(2,a3), _tracechtype2(3,a4), _tracechtype2(4,a5), _tracechtype2(5,a6), _tracechtype2(6,a7), _tracechtype2(7,z))); returnCode(wborder(stdscr, a1, a2, a3, a4, a5, a6, a7, z));
121
}
122
123
124
#undef box
125
NCURSES_EXPORT(int) box (WINDOW * a1, chtype a2, chtype z)
126
{
127
	T((T_CALLED("box(%p,%s,%s)"), a1, _tracechtype2(1,a2), _tracechtype2(2,z))); returnCode(wborder(a1, a2, a2, z, z, 0, 0, 0, 0));
128
}
129
130
131
#undef chgat
132
NCURSES_EXPORT(int) chgat (int a1, attr_t a2, short a3, const void * z)
133
{
134
	T((T_CALLED("chgat(%d,%s,%d,%p)"), a1, _traceattr2(1,a2), a3, z)); returnCode(wchgat(stdscr,a1,a2,a3,z));
135
}
136
137
138
#undef clear
139
NCURSES_EXPORT(int) clear (void)
140
{
141
	T((T_CALLED("clear()"))); returnCode(wclear(stdscr));
142
}
143
144
145
#undef clrtobot
146
NCURSES_EXPORT(int) clrtobot (void)
147
{
148
	T((T_CALLED("clrtobot()"))); returnCode(wclrtobot(stdscr));
149
}
150
151
152
#undef clrtoeol
153
NCURSES_EXPORT(int) clrtoeol (void)
154
{
155
	T((T_CALLED("clrtoeol()"))); returnCode(wclrtoeol(stdscr));
156
}
157
158
159
#undef color_set
160
NCURSES_EXPORT(int) color_set (short a1, void * z)
161
{
162
	T((T_CALLED("color_set(%d,%p)"), a1, z)); returnCode(wcolor_set(stdscr,a1,z));
163
}
164
165
166
#undef COLOR_PAIR
167
NCURSES_EXPORT(int) COLOR_PAIR (int z)
168
{
169
	T((T_CALLED("COLOR_PAIR(%d)"), z)); returnCode(((z) << ((0) + 8)));
170
}
171
172
173
#undef delch
174
NCURSES_EXPORT(int) delch (void)
175
{
176
	T((T_CALLED("delch()"))); returnCode(wdelch(stdscr));
177
}
178
179
180
#undef deleteln
181
NCURSES_EXPORT(int) deleteln (void)
182
{
183
	T((T_CALLED("deleteln()"))); returnCode(winsdelln(stdscr,-1));
184
}
185
186
187
#undef echochar
188
NCURSES_EXPORT(int) echochar (const chtype z)
189
{
190
	T((T_CALLED("echochar(%s)"), _tracechtype2(0,z))); returnCode(wechochar(stdscr,z));
191
}
192
193
194
#undef erase
195
NCURSES_EXPORT(int) erase (void)
196
{
197
	T((T_CALLED("erase()"))); returnCode(werase(stdscr));
198
}
199
200
201
#undef getbkgd
202
NCURSES_EXPORT(chtype) getbkgd (WINDOW * z)
203
{
204
	T((T_CALLED("getbkgd(%p)"), z)); returnChar(((z)->_bkgd));
205
}
206
207
208
#undef getch
209
NCURSES_EXPORT(int) getch (void)
210
{
211
	T((T_CALLED("getch()"))); returnCode(wgetch(stdscr));
212
}
213
214
215
#undef getnstr
216
NCURSES_EXPORT(int) getnstr (char * a1, int z)
217
{
218
	T((T_CALLED("getnstr(%s,%d)"), _nc_visbuf2(0,a1), z)); returnCode(wgetnstr(stdscr, a1, z));
219
}
220
221
222
#undef getstr
223
NCURSES_EXPORT(int) getstr (char * z)
224
{
225
	T((T_CALLED("getstr(%s)"), _nc_visbuf2(0,z))); returnCode(wgetnstr(stdscr, z, -1));
226
}
227
228
229
#undef hline
230
NCURSES_EXPORT(int) hline (chtype a1, int z)
231
{
232
	T((T_CALLED("hline(%s,%d)"), _tracechtype2(0,a1), z)); returnCode(whline(stdscr, a1, z));
233
}
234
235
236
#undef inch
237
NCURSES_EXPORT(chtype) inch (void)
238
{
239
	T((T_CALLED("inch()"))); returnChar(winch(stdscr));
240
}
241
242
243
#undef inchnstr
244
NCURSES_EXPORT(int) inchnstr (chtype * a1, int z)
245
{
246
	T((T_CALLED("inchnstr(%p,%d)"), a1, z)); returnCode(winchnstr(stdscr,a1,z));
247
}
248
249
250
#undef inchstr
251
NCURSES_EXPORT(int) inchstr (chtype * z)
252
{
253
	T((T_CALLED("inchstr(%p)"), z)); returnCode(winchnstr(stdscr, z, -1));
254
}
255
256
257
#undef innstr
258
NCURSES_EXPORT(int) innstr (char * a1, int z)
259
{
260
	return winnstr(stdscr,a1,z) ;
261
}
262
263
264
#undef insch
265
NCURSES_EXPORT(int) insch (chtype z)
266
{
267
	T((T_CALLED("insch(%s)"), _tracechtype2(0,z))); returnCode(winsch(stdscr,z));
268
}
269
270
271
#undef insdelln
272
NCURSES_EXPORT(int) insdelln (int z)
273
{
274
	T((T_CALLED("insdelln(%d)"), z)); returnCode(winsdelln(stdscr,z));
275
}
276
277
278
#undef insertln
279
NCURSES_EXPORT(int) insertln (void)
280
{
281
	T((T_CALLED("insertln()"))); returnCode(winsdelln(stdscr,1));
282
}
283
284
285
#undef insnstr
286
NCURSES_EXPORT(int) insnstr (const char * a1, int z)
287
{
288
	T((T_CALLED("insnstr(%s,%d)"), _nc_visbuf2(0,a1), z)); returnCode(winsnstr(stdscr,a1,z));
289
}
290
291
292
#undef insstr
293
NCURSES_EXPORT(int) insstr (const char * z)
294
{
295
	T((T_CALLED("insstr(%s)"), _nc_visbuf2(0,z))); returnCode(winsnstr(stdscr, z, -1));
296
}
297
298
299
#undef instr
300
NCURSES_EXPORT(int) instr (char * z)
301
{
302
	T((T_CALLED("instr(%s)"), _nc_visbuf2(0,z))); returnCode(winnstr(stdscr, z, -1));
303
}
304
305
306
#undef move
307
NCURSES_EXPORT(int) move (int a1, int z)
308
{
309
	T((T_CALLED("move(%d,%d)"), a1, z)); returnCode(wmove(stdscr,a1,z));
310
}
311
312
313
#undef mvaddch
314
NCURSES_EXPORT(int) mvaddch (int a1, int a2, const chtype z)
315
{
316
	T((T_CALLED("mvaddch(%d,%d,%s)"), a1, a2, _tracechtype2(2,z))); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : waddch(stdscr,z)));
317
}
318
319
320
#undef mvaddchnstr
321
NCURSES_EXPORT(int) mvaddchnstr (int a1, int a2, const chtype * a3, int z)
322
{
323
	T((T_CALLED("mvaddchnstr(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : waddchnstr(stdscr,a3,z)));
324
}
325
326
327
#undef mvaddchstr
328
NCURSES_EXPORT(int) mvaddchstr (int a1, int a2, const chtype * z)
329
{
330
	T((T_CALLED("mvaddchstr(%d,%d,%p)"), a1, a2, z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : waddchnstr(stdscr,z,-1)));
331
}
332
333
334
#undef mvaddnstr
335
NCURSES_EXPORT(int) mvaddnstr (int a1, int a2, const char * a3, int z)
336
{
337
	T((T_CALLED("mvaddnstr(%d,%d,%s,%d)"), a1, a2, _nc_visbuf2(2,a3), z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : waddnstr(stdscr,a3,z)));
338
}
339
340
341
#undef mvaddstr
342
NCURSES_EXPORT(int) mvaddstr (int a1, int a2, const char * z)
343
{
344
	T((T_CALLED("mvaddstr(%d,%d,%s)"), a1, a2, _nc_visbuf2(2,z))); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : waddnstr(stdscr,z,-1)));
345
}
346
347
348
#undef mvchgat
349
NCURSES_EXPORT(int) mvchgat (int a1, int a2, int a3, attr_t a4, short a5, const void * z)
350
{
351
	T((T_CALLED("mvchgat(%d,%d,%d,%s,%d,%p)"), a1, a2, a3, _traceattr2(3,a4), a5, z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : wchgat(stdscr,a3,a4,a5,z)));
352
}
353
354
355
#undef mvdelch
356
NCURSES_EXPORT(int) mvdelch (int a1, int z)
357
{
358
	T((T_CALLED("mvdelch(%d,%d)"), a1, z)); returnCode((wmove(stdscr,a1,z) == (-1) ? (-1) : wdelch(stdscr)));
359
}
360
361
362
#undef mvgetch
363
NCURSES_EXPORT(int) mvgetch (int a1, int z)
364
{
365
	T((T_CALLED("mvgetch(%d,%d)"), a1, z)); returnCode((wmove(stdscr,a1,z) == (-1) ? (-1) : wgetch(stdscr)));
366
}
367
368
369
#undef mvgetnstr
370
NCURSES_EXPORT(int) mvgetnstr (int a1, int a2, char * a3, int z)
371
{
372
	T((T_CALLED("mvgetnstr(%d,%d,%s,%d)"), a1, a2, _nc_visbuf2(2,a3), z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : wgetnstr(stdscr,a3,z)));
373
}
374
375
376
#undef mvgetstr
377
NCURSES_EXPORT(int) mvgetstr (int a1, int a2, char * z)
378
{
379
	T((T_CALLED("mvgetstr(%d,%d,%s)"), a1, a2, _nc_visbuf2(2,z))); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : wgetnstr(stdscr, z, -1)));
380
}
381
382
383
#undef mvhline
384
NCURSES_EXPORT(int) mvhline (int a1, int a2, chtype a3, int z)
385
{
386
	T((T_CALLED("mvhline(%d,%d,%s,%d)"), a1, a2, _tracechtype2(2,a3), z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : whline(stdscr,a3,z)));
387
}
388
389
390
#undef mvinch
391
NCURSES_EXPORT(chtype) mvinch (int a1, int z)
392
{
393
	T((T_CALLED("mvinch(%d,%d)"), a1, z)); returnChar((wmove(stdscr,a1,z) == (-1) ? (chtype)((-1)) : winch(stdscr)));
394
}
395
396
397
#undef mvinchnstr
398
NCURSES_EXPORT(int) mvinchnstr (int a1, int a2, chtype * a3, int z)
399
{
400
	T((T_CALLED("mvinchnstr(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : winchnstr(stdscr,a3,z)));
401
}
402
403
404
#undef mvinchstr
405
NCURSES_EXPORT(int) mvinchstr (int a1, int a2, chtype * z)
406
{
407
	T((T_CALLED("mvinchstr(%d,%d,%p)"), a1, a2, z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : winchnstr(stdscr, z, -1)));
408
}
409
410
411
#undef mvinnstr
412
NCURSES_EXPORT(int) mvinnstr (int a1, int a2, char * a3, int z)
413
{
414
	return (wmove(stdscr,a1,a2) == (-1) ? (-1) : winnstr(stdscr,a3,z)) ;
415
}
416
417
418
#undef mvinsch
419
NCURSES_EXPORT(int) mvinsch (int a1, int a2, chtype z)
420
{
421
	T((T_CALLED("mvinsch(%d,%d,%s)"), a1, a2, _tracechtype2(2,z))); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : winsch(stdscr,z)));
422
}
423
424
425
#undef mvinsnstr
426
NCURSES_EXPORT(int) mvinsnstr (int a1, int a2, const char * a3, int z)
427
{
428
	T((T_CALLED("mvinsnstr(%d,%d,%s,%d)"), a1, a2, _nc_visbuf2(2,a3), z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : winsnstr(stdscr,a3,z)));
429
}
430
431
432
#undef mvinsstr
433
NCURSES_EXPORT(int) mvinsstr (int a1, int a2, const char * z)
434
{
435
	T((T_CALLED("mvinsstr(%d,%d,%s)"), a1, a2, _nc_visbuf2(2,z))); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : winsnstr(stdscr, z, -1)));
436
}
437
438
439
#undef mvinstr
440
NCURSES_EXPORT(int) mvinstr (int a1, int a2, char * z)
441
{
442
	T((T_CALLED("mvinstr(%d,%d,%s)"), a1, a2, _nc_visbuf2(2,z))); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : winnstr(stdscr, z, -1)));
443
}
444
445
446
#undef mvvline
447
NCURSES_EXPORT(int) mvvline (int a1, int a2, chtype a3, int z)
448
{
449
	T((T_CALLED("mvvline(%d,%d,%s,%d)"), a1, a2, _tracechtype2(2,a3), z)); returnCode((wmove(stdscr,a1,a2) == (-1) ? (-1) : wvline(stdscr,a3,z)));
450
}
451
452
453
#undef mvwaddch
454
NCURSES_EXPORT(int) mvwaddch (WINDOW * a1, int a2, int a3, const chtype z)
455
{
456
	T((T_CALLED("mvwaddch(%p,%d,%d,%s)"), a1, a2, a3, _tracechtype2(3,z))); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : waddch(a1,z)));
457
}
458
459
460
#undef mvwaddchnstr
461
NCURSES_EXPORT(int) mvwaddchnstr (WINDOW * a1, int a2, int a3, const chtype * a4, int z)
462
{
463
	T((T_CALLED("mvwaddchnstr(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : waddchnstr(a1,a4,z)));
464
}
465
466
467
#undef mvwaddchstr
468
NCURSES_EXPORT(int) mvwaddchstr (WINDOW * a1, int a2, int a3, const chtype * z)
469
{
470
	T((T_CALLED("mvwaddchstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : waddchnstr(a1,z,-1)));
471
}
472
473
474
#undef mvwaddnstr
475
NCURSES_EXPORT(int) mvwaddnstr (WINDOW * a1, int a2, int a3, const char * a4, int z)
476
{
477
	T((T_CALLED("mvwaddnstr(%p,%d,%d,%s,%d)"), a1, a2, a3, _nc_visbuf2(3,a4), z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : waddnstr(a1,a4,z)));
478
}
479
480
481
#undef mvwaddstr
482
NCURSES_EXPORT(int) mvwaddstr (WINDOW * a1, int a2, int a3, const char * z)
483
{
484
	T((T_CALLED("mvwaddstr(%p,%d,%d,%s)"), a1, a2, a3, _nc_visbuf2(3,z))); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : waddnstr(a1,z,-1)));
485
}
486
487
488
#undef mvwchgat
489
NCURSES_EXPORT(int) mvwchgat (WINDOW * a1, int a2, int a3, int a4, attr_t a5, short a6, const void * z)
490
{
491
	T((T_CALLED("mvwchgat(%p,%d,%d,%d,%s,%d,%p)"), a1, a2, a3, a4, _traceattr2(4,a5), a6, z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : wchgat(a1,a4,a5,a6,z)));
492
}
493
494
495
#undef mvwdelch
496
NCURSES_EXPORT(int) mvwdelch (WINDOW * a1, int a2, int z)
497
{
498
	T((T_CALLED("mvwdelch(%p,%d,%d)"), a1, a2, z)); returnCode((wmove(a1,a2,z) == (-1) ? (-1) : wdelch(a1)));
499
}
500
501
502
#undef mvwgetch
503
NCURSES_EXPORT(int) mvwgetch (WINDOW * a1, int a2, int z)
504
{
505
	T((T_CALLED("mvwgetch(%p,%d,%d)"), a1, a2, z)); returnCode((wmove(a1,a2,z) == (-1) ? (-1) : wgetch(a1)));
506
}
507
508
509
#undef mvwgetnstr
510
NCURSES_EXPORT(int) mvwgetnstr (WINDOW * a1, int a2, int a3, char * a4, int z)
511
{
512
	T((T_CALLED("mvwgetnstr(%p,%d,%d,%s,%d)"), a1, a2, a3, _nc_visbuf2(3,a4), z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : wgetnstr(a1,a4,z)));
513
}
514
515
516
#undef mvwgetstr
517
NCURSES_EXPORT(int) mvwgetstr (WINDOW * a1, int a2, int a3, char * z)
518
{
519
	T((T_CALLED("mvwgetstr(%p,%d,%d,%s)"), a1, a2, a3, _nc_visbuf2(3,z))); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : wgetnstr(a1, z, -1)));
520
}
521
522
523
#undef mvwhline
524
NCURSES_EXPORT(int) mvwhline (WINDOW * a1, int a2, int a3, chtype a4, int z)
525
{
526
	T((T_CALLED("mvwhline(%p,%d,%d,%s,%d)"), a1, a2, a3, _tracechtype2(3,a4), z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : whline(a1,a4,z)));
527
}
528
529
530
#undef mvwinch
531
NCURSES_EXPORT(chtype) mvwinch (WINDOW * a1, int a2, int z)
532
{
533
	T((T_CALLED("mvwinch(%p,%d,%d)"), a1, a2, z)); returnChar((wmove(a1,a2,z) == (-1) ? (chtype)((-1)) : winch(a1)));
534
}
535
536
537
#undef mvwinchnstr
538
NCURSES_EXPORT(int) mvwinchnstr (WINDOW * a1, int a2, int a3, chtype * a4, int z)
539
{
540
	T((T_CALLED("mvwinchnstr(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : winchnstr(a1,a4,z)));
541
}
542
543
544
#undef mvwinchstr
545
NCURSES_EXPORT(int) mvwinchstr (WINDOW * a1, int a2, int a3, chtype * z)
546
{
547
	T((T_CALLED("mvwinchstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : winchnstr(a1, z, -1)));
548
}
549
550
551
#undef mvwinnstr
552
NCURSES_EXPORT(int) mvwinnstr (WINDOW * a1, int a2, int a3, char * a4, int z)
553
{
554
	return (wmove(a1,a2,a3) == (-1) ? (-1) : winnstr(a1,a4,z)) ;
555
}
556
557
558
#undef mvwinsch
559
NCURSES_EXPORT(int) mvwinsch (WINDOW * a1, int a2, int a3, chtype z)
560
{
561
	T((T_CALLED("mvwinsch(%p,%d,%d,%s)"), a1, a2, a3, _tracechtype2(3,z))); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : winsch(a1,z)));
562
}
563
564
565
#undef mvwinsnstr
566
NCURSES_EXPORT(int) mvwinsnstr (WINDOW * a1, int a2, int a3, const char * a4, int z)
567
{
568
	T((T_CALLED("mvwinsnstr(%p,%d,%d,%s,%d)"), a1, a2, a3, _nc_visbuf2(3,a4), z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : winsnstr(a1,a4,z)));
569
}
570
571
572
#undef mvwinsstr
573
NCURSES_EXPORT(int) mvwinsstr (WINDOW * a1, int a2, int a3, const char * z)
574
{
575
	T((T_CALLED("mvwinsstr(%p,%d,%d,%s)"), a1, a2, a3, _nc_visbuf2(3,z))); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : winsnstr(a1, z, -1)));
576
}
577
578
579
#undef mvwinstr
580
NCURSES_EXPORT(int) mvwinstr (WINDOW * a1, int a2, int a3, char * z)
581
{
582
	T((T_CALLED("mvwinstr(%p,%d,%d,%s)"), a1, a2, a3, _nc_visbuf2(3,z))); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : winnstr(a1, z, -1)));
583
}
584
585
586
#undef mvwvline
587
NCURSES_EXPORT(int) mvwvline (WINDOW * a1, int a2, int a3, chtype a4, int z)
588
{
589
	T((T_CALLED("mvwvline(%p,%d,%d,%s,%d)"), a1, a2, a3, _tracechtype2(3,a4), z)); returnCode((wmove(a1,a2,a3) == (-1) ? (-1) : wvline(a1,a4,z)));
590
}
591
592
593
#undef PAIR_NUMBER
594
NCURSES_EXPORT(int) PAIR_NUMBER (int z)
595
{
596
	T((T_CALLED("PAIR_NUMBER(%d)"), z)); returnCode(((int)((((z) & ((((1U) << 8) - 1U) << ((0) + 8))) >> 8))));
597
}
598
599
600
#undef redrawwin
601
NCURSES_EXPORT(int) redrawwin (WINDOW * z)
602
{
603
	T((T_CALLED("redrawwin(%p)"), z)); returnCode(wredrawln(z, 0, (z)->_maxy+1));
604
}
605
606
607
#undef refresh
608
NCURSES_EXPORT(int) refresh (void)
609
{
610
	T((T_CALLED("refresh()"))); returnCode(wrefresh(stdscr));
611
}
612
613
614
#undef scrl
615
NCURSES_EXPORT(int) scrl (int z)
616
{
617
	T((T_CALLED("scrl(%d)"), z)); returnCode(wscrl(stdscr,z));
618
}
619
620
621
#undef scroll
622
NCURSES_EXPORT(int) scroll (WINDOW * z)
623
{
624
	T((T_CALLED("scroll(%p)"), z)); returnCode(wscrl(z,1));
625
}
626
627
628
#undef setscrreg
629
NCURSES_EXPORT(int) setscrreg (int a1, int z)
630
{
631
	T((T_CALLED("setscrreg(%d,%d)"), a1, z)); returnCode(wsetscrreg(stdscr,a1,z));
632
}
633
634
635
#if USE_WIDEC_SUPPORT
636
#undef slk_attr_off
637
NCURSES_EXPORT(int) slk_attr_off (const attr_t a1, void * z)
638
{
639
	T((T_CALLED("slk_attr_off(%s,%p)"), _traceattr2(0,a1), z)); returnCode(((z) ? (-1) : slk_attroff(a1)));
640
}
641
#endif
642
643
644
#if USE_WIDEC_SUPPORT
645
#undef slk_attr_on
646
NCURSES_EXPORT(int) slk_attr_on (attr_t a1, void * z)
647
{
648
	T((T_CALLED("slk_attr_on(%s,%p)"), _traceattr2(0,a1), z)); returnCode(((z) ? (-1) : slk_attron(a1)));
649
}
650
#endif
651
652
653
#undef standout
654
NCURSES_EXPORT(int) standout (void)
655
{
656
	T((T_CALLED("standout()"))); returnAttr((((stdscr)->_attrs = (((1U) << ((8) + 8))))));
657
}
658
659
660
#undef standend
661
NCURSES_EXPORT(int) standend (void)
662
{
663
	T((T_CALLED("standend()"))); returnAttr((((stdscr)->_attrs = ((1U - 1U)))));
664
}
665
666
667
#undef timeout
668
NCURSES_EXPORT(void) timeout (int z)
669
{
670
	T((T_CALLED("timeout(%d)"), z)); wtimeout(stdscr,z);
671
	returnVoid;
672
}
673
674
675
#undef touchline
676
NCURSES_EXPORT(int) touchline (WINDOW * a1, int a2, int z)
677
{
678
	T((T_CALLED("touchline(%p,%d,%d)"), a1, a2, z)); returnCode(wtouchln((a1), a2, z, 1));
679
}
680
681
682
#undef touchwin
683
NCURSES_EXPORT(int) touchwin (WINDOW * z)
684
{
685
	T((T_CALLED("touchwin(%p)"), z)); returnCode(wtouchln((z), 0, ((z) ? ((z)->_maxy + 1) : (-1)), 1));
686
}
687
688
689
#undef untouchwin
690
NCURSES_EXPORT(int) untouchwin (WINDOW * z)
691
{
692
	T((T_CALLED("untouchwin(%p)"), z)); returnCode(wtouchln((z), 0, ((z) ? ((z)->_maxy + 1) : (-1)), 0));
693
}
694
695
696
#undef vline
697
NCURSES_EXPORT(int) vline (chtype a1, int z)
698
{
699
	T((T_CALLED("vline(%s,%d)"), _tracechtype2(0,a1), z)); returnCode(wvline(stdscr, a1, z));
700
}
701
702
703
#undef vw_printw
704
NCURSES_EXPORT(int) vw_printw (WINDOW * a1, const char * a2, va_list z)
705
{
706
	T((T_CALLED("vw_printw(%p,%s,%s)"), a1, _nc_visbuf2(1,a2), "va_list")); returnCode(vwprintw(a1, a2, z));
707
}
708
709
710
#undef vw_scanw
711
NCURSES_EXPORT(int) vw_scanw (WINDOW * a1, char * a2, va_list z)
712
{
713
	T((T_CALLED("vw_scanw(%p,%s,%s)"), a1, _nc_visbuf2(1,a2), "va_list")); returnCode(vwscanw(a1, a2, z));
714
}
715
716
717
#undef waddchstr
718
NCURSES_EXPORT(int) waddchstr (WINDOW * a1, const chtype * z)
719
{
720
	T((T_CALLED("waddchstr(%p,%p)"), a1, z)); returnCode(waddchnstr(a1,z,-1));
721
}
722
723
724
#undef waddstr
725
NCURSES_EXPORT(int) waddstr (WINDOW * a1, const char * z)
726
{
727
	T((T_CALLED("waddstr(%p,%s)"), a1, _nc_visbuf2(1,z))); returnCode(waddnstr(a1,z,-1));
728
}
729
730
731
#undef wattron
732
NCURSES_EXPORT(int) wattron (WINDOW * a1, int z)
733
{
734
	T((T_CALLED("wattron(%p,%d)"), a1, z)); returnCode(wattr_on(a1, (attr_t)(z), ((void *)0)));
735
}
736
737
738
#undef wattroff
739
NCURSES_EXPORT(int) wattroff (WINDOW * a1, int z)
740
{
741
	T((T_CALLED("wattroff(%p,%d)"), a1, z)); returnCode(wattr_off(a1, (attr_t)(z), ((void *)0)));
742
}
743
744
745
#undef wattrset
746
NCURSES_EXPORT(int) wattrset (WINDOW * a1, int z)
747
{
748
	T((T_CALLED("wattrset(%p,%d)"), a1, z)); returnAttr(((a1)->_attrs = (z)));
749
}
750
751
752
#undef wattr_get
753
NCURSES_EXPORT(int) wattr_get (WINDOW * a1, attr_t * a2, short * a3, void * z)
754
{
755
	T((T_CALLED("wattr_get(%p,%p,%p,%p)"), a1, a2, a3, z)); returnCode(((void)((a2) != (void *)0 && (*(a2) = (a1)->_attrs)), (void)((a3) != (void *)0 && (*(a3) = ((int)(((((a1)->_attrs) & ((((1U) << 8) - 1U) << ((0) + 8))) >> 8))))), (0)));
756
}
757
758
759
#undef wattr_set
760
NCURSES_EXPORT(int) wattr_set (WINDOW * a1, attr_t a2, short a3, void * z)
761
{
762
	T((T_CALLED("wattr_set(%p,%s,%d,%p)"), a1, _traceattr2(1,a2), a3, z)); returnCode(((a1)->_attrs = (((a2) & ~((((1U) << 8) - 1U) << ((0) + 8))) | ((a3) << ((0) + 8))), (0)));
763
}
764
765
766
#undef wdeleteln
767
NCURSES_EXPORT(int) wdeleteln (WINDOW * z)
768
{
769
	T((T_CALLED("wdeleteln(%p)"), z)); returnCode(winsdelln(z,-1));
770
}
771
772
773
#undef wgetstr
774
NCURSES_EXPORT(int) wgetstr (WINDOW * a1, char * z)
775
{
776
	T((T_CALLED("wgetstr(%p,%s)"), a1, _nc_visbuf2(1,z))); returnCode(wgetnstr(a1, z, -1));
777
}
778
779
780
#undef winchstr
781
NCURSES_EXPORT(int) winchstr (WINDOW * a1, chtype * z)
782
{
783
	T((T_CALLED("winchstr(%p,%p)"), a1, z)); returnCode(winchnstr(a1, z, -1));
784
}
785
786
787
#undef winsertln
788
NCURSES_EXPORT(int) winsertln (WINDOW * z)
789
{
790
	T((T_CALLED("winsertln(%p)"), z)); returnCode(winsdelln(z,1));
791
}
792
793
794
#undef winsstr
795
NCURSES_EXPORT(int) winsstr (WINDOW * a1, const char * z)
796
{
797
	T((T_CALLED("winsstr(%p,%s)"), a1, _nc_visbuf2(1,z))); returnCode(winsnstr(a1, z, -1));
798
}
799
800
801
#undef winstr
802
NCURSES_EXPORT(int) winstr (WINDOW * a1, char * z)
803
{
804
	T((T_CALLED("winstr(%p,%s)"), a1, _nc_visbuf2(1,z))); returnCode(winnstr(a1, z, -1));
805
}
806
807
808
#undef wstandout
809
NCURSES_EXPORT(int) wstandout (WINDOW * z)
810
{
811
	T((T_CALLED("wstandout(%p)"), z)); returnAttr((((z)->_attrs = (((1U) << ((8) + 8))))));
812
}
813
814
815
#undef wstandend
816
NCURSES_EXPORT(int) wstandend (WINDOW * z)
817
{
818
	T((T_CALLED("wstandend(%p)"), z)); returnAttr((((z)->_attrs = ((1U - 1U)))));
819
}
820
821
822
#undef getattrs
823
NCURSES_EXPORT(int) getattrs (const WINDOW * z)
824
{
825
	T((T_CALLED("getattrs(%p)"), z)); returnCode(((z) ? (z)->_attrs : (1U - 1U)));
826
}
827
828
829
#undef getcurx
830
NCURSES_EXPORT(int) getcurx (const WINDOW * z)
831
{
832
	T((T_CALLED("getcurx(%p)"), z)); returnCode(((z) ? (z)->_curx : (-1)));
833
}
834
835
836
#undef getcury
837
NCURSES_EXPORT(int) getcury (const WINDOW * z)
838
{
839
	T((T_CALLED("getcury(%p)"), z)); returnCode(((z) ? (z)->_cury : (-1)));
840
}
841
842
843
#undef getbegx
844
NCURSES_EXPORT(int) getbegx (const WINDOW * z)
845
{
846
	T((T_CALLED("getbegx(%p)"), z)); returnCode(((z) ? (z)->_begx : (-1)));
847
}
848
849
850
#undef getbegy
851
NCURSES_EXPORT(int) getbegy (const WINDOW * z)
852
{
853
	T((T_CALLED("getbegy(%p)"), z)); returnCode(((z) ? (z)->_begy : (-1)));
854
}
855
856
857
#undef getmaxx
858
NCURSES_EXPORT(int) getmaxx (const WINDOW * z)
859
{
860
	T((T_CALLED("getmaxx(%p)"), z)); returnCode(((z) ? ((z)->_maxx + 1) : (-1)));
861
}
862
863
864
#undef getmaxy
865
NCURSES_EXPORT(int) getmaxy (const WINDOW * z)
866
{
867
	T((T_CALLED("getmaxy(%p)"), z)); returnCode(((z) ? ((z)->_maxy + 1) : (-1)));
868
}
869
870
871
#undef getparx
872
NCURSES_EXPORT(int) getparx (const WINDOW * z)
873
{
874
	T((T_CALLED("getparx(%p)"), z)); returnCode(((z) ? (z)->_parx : (-1)));
875
}
876
877
878
#undef getpary
879
NCURSES_EXPORT(int) getpary (const WINDOW * z)
880
{
881
	T((T_CALLED("getpary(%p)"), z)); returnCode(((z) ? (z)->_pary : (-1)));
882
}
883
884
885
#undef wgetparent
886
NCURSES_EXPORT(WINDOW *) wgetparent (const WINDOW * z)
887
{
888
	T((T_CALLED("(%p)"), z)); returnWin(((z) ? (z)->_parent : 0));
889
}
890
891
892
#undef is_cleared
893
NCURSES_EXPORT(NCURSES_BOOL) is_cleared (const WINDOW * z)
894
{
895
	T((T_CALLED("is_cleared(%p)"), z)); returnBool(((z)->_clear));
896
}
897
898
899
#undef is_idcok
900
NCURSES_EXPORT(NCURSES_BOOL) is_idcok (const WINDOW * z)
901
{
902
	T((T_CALLED("is_idcok(%p)"), z)); returnBool(((z)->_idcok));
903
}
904
905
906
#undef is_idlok
907
NCURSES_EXPORT(NCURSES_BOOL) is_idlok (const WINDOW * z)
908
{
909
	T((T_CALLED("is_idlok(%p)"), z)); returnBool(((z)->_idlok));
910
}
911
912
913
#undef is_immedok
914
NCURSES_EXPORT(NCURSES_BOOL) is_immedok (const WINDOW * z)
915
{
916
	T((T_CALLED("is_immedok(%p)"), z)); returnBool(((z)->_immed));
917
}
918
919
920
#undef is_keypad
921
NCURSES_EXPORT(NCURSES_BOOL) is_keypad (const WINDOW * z)
922
{
923
	T((T_CALLED("is_keypad(%p)"), z)); returnBool(((z)->_use_keypad));
924
}
925
926
927
#undef is_leaveok
928
NCURSES_EXPORT(NCURSES_BOOL) is_leaveok (const WINDOW * z)
929
{
930
	T((T_CALLED("is_leaveok(%p)"), z)); returnBool(((z)->_leaveok));
931
}
932
933
934
#undef is_nodelay
935
NCURSES_EXPORT(NCURSES_BOOL) is_nodelay (const WINDOW * z)
936
{
937
	T((T_CALLED("is_nodelay(%p)"), z)); returnBool(((z)->_delay == 0));
938
}
939
940
941
#undef is_notimeout
942
NCURSES_EXPORT(NCURSES_BOOL) is_notimeout (const WINDOW * z)
943
{
944
	T((T_CALLED("is_notimeout(%p)"), z)); returnBool(((z)->_notimeout));
945
}
946
947
948
#undef is_scrollok
949
NCURSES_EXPORT(NCURSES_BOOL) is_scrollok (const WINDOW * z)
950
{
951
	T((T_CALLED("is_scrollok(%p)"), z)); returnBool(((z)->_scroll));
952
}
953
954
955
#undef is_syncok
956
NCURSES_EXPORT(NCURSES_BOOL) is_syncok (const WINDOW * z)
957
{
958
	T((T_CALLED("is_syncok(%p)"), z)); returnBool(((z)->_sync));
959
}
960
961
962
#undef wgetscrreg
963
NCURSES_EXPORT(int) wgetscrreg (const WINDOW * a1, int * a2, int * z)
964
{
965
	T((T_CALLED("wgetscrreg(%p,%p,%p)"), a1, a2, z)); returnCode(((a1) ? (*(a2) = (a1)->_regtop, *(z) = (a1)->_regbottom, (0)) : (-1)));
966
}
967
968
969
#if USE_WIDEC_SUPPORT
970
#undef add_wch
971
NCURSES_EXPORT(int) add_wch (const cchar_t * z)
972
{
973
	T((T_CALLED("add_wch(%p)"), z)); returnCode(add_wch(z));
974
}
975
#endif
976
977
978
#if USE_WIDEC_SUPPORT
979
#undef add_wchnstr
980
NCURSES_EXPORT(int) add_wchnstr (const cchar_t * a1, int z)
981
{
982
	T((T_CALLED("add_wchnstr(%p,%d)"), a1, z)); returnCode(add_wchnstr(a1, z));
983
}
984
#endif
985
986
987
#if USE_WIDEC_SUPPORT
988
#undef add_wchstr
989
NCURSES_EXPORT(int) add_wchstr (const cchar_t * z)
990
{
991
	T((T_CALLED("add_wchstr(%p)"), z)); returnCode(add_wchstr(z));
992
}
993
#endif
994
995
996
#if USE_WIDEC_SUPPORT
997
#undef addnwstr
998
NCURSES_EXPORT(int) addnwstr (const wchar_t * a1, int z)
999
{
1000
	T((T_CALLED("addnwstr(%p,%d)"), a1, z)); returnCode(addnwstr(a1, z));
1001
}
1002
#endif
1003
1004
1005
#if USE_WIDEC_SUPPORT
1006
#undef addwstr
1007
NCURSES_EXPORT(int) addwstr (const wchar_t * z)
1008
{
1009
	T((T_CALLED("addwstr(%p)"), z)); returnCode(addwstr(z));
1010
}
1011
#endif
1012
1013
1014
#if USE_WIDEC_SUPPORT
1015
#undef bkgrnd
1016
NCURSES_EXPORT(int) bkgrnd (const cchar_t * z)
1017
{
1018
	T((T_CALLED("bkgrnd(%p)"), z)); returnCode(bkgrnd(z));
1019
}
1020
#endif
1021
1022
1023
#if USE_WIDEC_SUPPORT
1024
#undef bkgrndset
1025
NCURSES_EXPORT(void) bkgrndset (const cchar_t * z)
1026
{
1027
	T((T_CALLED("bkgrndset(%p)"), z)); bkgrndset(z);
1028
	returnVoid;
1029
}
1030
#endif
1031
1032
1033
#if USE_WIDEC_SUPPORT
1034
#undef border_set
1035
NCURSES_EXPORT(int) border_set (const cchar_t * a1, const cchar_t * a2, const cchar_t * a3, const cchar_t * a4, const cchar_t * a5, const cchar_t * a6, const cchar_t * a7, const cchar_t * z)
1036
{
1037
	T((T_CALLED("border_set(%p,%p,%p,%p,%p,%p,%p,%p)"), a1, a2, a3, a4, a5, a6, a7, z)); returnCode(border_set(a1, a2, a3, a4, a5, a6, a7, z));
1038
}
1039
#endif
1040
1041
1042
#if USE_WIDEC_SUPPORT
1043
#undef box_set
1044
NCURSES_EXPORT(int) box_set (WINDOW * a1, const cchar_t * a2, const cchar_t * z)
1045
{
1046
	T((T_CALLED("box_set(%p,%p,%p)"), a1, a2, z)); returnCode(box_set(a1, a2, z));
1047
}
1048
#endif
1049
1050
1051
#if USE_WIDEC_SUPPORT
1052
#undef echo_wchar
1053
NCURSES_EXPORT(int) echo_wchar (const cchar_t * z)
1054
{
1055
	T((T_CALLED("echo_wchar(%p)"), z)); returnCode(echo_wchar(z));
1056
}
1057
#endif
1058
1059
1060
#if USE_WIDEC_SUPPORT
1061
#undef get_wch
1062
NCURSES_EXPORT(int) get_wch (wint_t * z)
1063
{
1064
	T((T_CALLED("get_wch(%p)"), z)); returnCode(get_wch(z));
1065
}
1066
#endif
1067
1068
1069
#if USE_WIDEC_SUPPORT
1070
#undef get_wstr
1071
NCURSES_EXPORT(int) get_wstr (wint_t * z)
1072
{
1073
	T((T_CALLED("get_wstr(%p)"), z)); returnCode(get_wstr(z));
1074
}
1075
#endif
1076
1077
1078
#if USE_WIDEC_SUPPORT
1079
#undef getbkgrnd
1080
NCURSES_EXPORT(int) getbkgrnd (cchar_t * z)
1081
{
1082
	T((T_CALLED("getbkgrnd(%p)"), z)); returnCode(getbkgrnd(z));
1083
}
1084
#endif
1085
1086
1087
#if USE_WIDEC_SUPPORT
1088
#undef getn_wstr
1089
NCURSES_EXPORT(int) getn_wstr (wint_t * a1, int z)
1090
{
1091
	T((T_CALLED("getn_wstr(%p,%d)"), a1, z)); returnCode(getn_wstr(a1, z));
1092
}
1093
#endif
1094
1095
1096
#if USE_WIDEC_SUPPORT
1097
#undef hline_set
1098
NCURSES_EXPORT(int) hline_set (const cchar_t * a1, int z)
1099
{
1100
	T((T_CALLED("hline_set(%p,%d)"), a1, z)); returnCode(hline_set(a1, z));
1101
}
1102
#endif
1103
1104
1105
#if USE_WIDEC_SUPPORT
1106
#undef in_wch
1107
NCURSES_EXPORT(int) in_wch (cchar_t * z)
1108
{
1109
	T((T_CALLED("in_wch(%p)"), z)); returnCode(in_wch(z));
1110
}
1111
#endif
1112
1113
1114
#if USE_WIDEC_SUPPORT
1115
#undef in_wchnstr
1116
NCURSES_EXPORT(int) in_wchnstr (cchar_t * a1, int z)
1117
{
1118
	T((T_CALLED("in_wchnstr(%p,%d)"), a1, z)); returnCode(in_wchnstr(a1, z));
1119
}
1120
#endif
1121
1122
1123
#if USE_WIDEC_SUPPORT
1124
#undef in_wchstr
1125
NCURSES_EXPORT(int) in_wchstr (cchar_t * z)
1126
{
1127
	T((T_CALLED("in_wchstr(%p)"), z)); returnCode(in_wchstr(z));
1128
}
1129
#endif
1130
1131
1132
#if USE_WIDEC_SUPPORT
1133
#undef innwstr
1134
NCURSES_EXPORT(int) innwstr (wchar_t * a1, int z)
1135
{
1136
	return innwstr(a1, z) ;
1137
}
1138
#endif
1139
1140
1141
#if USE_WIDEC_SUPPORT
1142
#undef ins_nwstr
1143
NCURSES_EXPORT(int) ins_nwstr (const wchar_t * a1, int z)
1144
{
1145
	T((T_CALLED("ins_nwstr(%p,%d)"), a1, z)); returnCode(ins_nwstr(a1, z));
1146
}
1147
#endif
1148
1149
1150
#if USE_WIDEC_SUPPORT
1151
#undef ins_wch
1152
NCURSES_EXPORT(int) ins_wch (const cchar_t * z)
1153
{
1154
	T((T_CALLED("ins_wch(%p)"), z)); returnCode(ins_wch(z));
1155
}
1156
#endif
1157
1158
1159
#if USE_WIDEC_SUPPORT
1160
#undef ins_wstr
1161
NCURSES_EXPORT(int) ins_wstr (const wchar_t * z)
1162
{
1163
	T((T_CALLED("ins_wstr(%p)"), z)); returnCode(ins_wstr(z));
1164
}
1165
#endif
1166
1167
1168
#if USE_WIDEC_SUPPORT
1169
#undef inwstr
1170
NCURSES_EXPORT(int) inwstr (wchar_t * z)
1171
{
1172
	T((T_CALLED("inwstr(%p)"), z)); returnCode(inwstr(z));
1173
}
1174
#endif
1175
1176
1177
#if USE_WIDEC_SUPPORT
1178
#undef mvadd_wch
1179
NCURSES_EXPORT(int) mvadd_wch (int a1, int a2, const cchar_t * z)
1180
{
1181
	T((T_CALLED("mvadd_wch(%d,%d,%p)"), a1, a2, z)); returnCode(mvadd_wch(a1, a2, z));
1182
}
1183
#endif
1184
1185
1186
#if USE_WIDEC_SUPPORT
1187
#undef mvadd_wchnstr
1188
NCURSES_EXPORT(int) mvadd_wchnstr (int a1, int a2, const cchar_t * a3, int z)
1189
{
1190
	T((T_CALLED("mvadd_wchnstr(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode(mvadd_wchnstr(a1, a2, a3, z));
1191
}
1192
#endif
1193
1194
1195
#if USE_WIDEC_SUPPORT
1196
#undef mvadd_wchstr
1197
NCURSES_EXPORT(int) mvadd_wchstr (int a1, int a2, const cchar_t * z)
1198
{
1199
	T((T_CALLED("mvadd_wchstr(%d,%d,%p)"), a1, a2, z)); returnCode(mvadd_wchstr(a1, a2, z));
1200
}
1201
#endif
1202
1203
1204
#if USE_WIDEC_SUPPORT
1205
#undef mvaddnwstr
1206
NCURSES_EXPORT(int) mvaddnwstr (int a1, int a2, const wchar_t * a3, int z)
1207
{
1208
	T((T_CALLED("mvaddnwstr(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode(mvaddnwstr(a1, a2, a3, z));
1209
}
1210
#endif
1211
1212
1213
#if USE_WIDEC_SUPPORT
1214
#undef mvaddwstr
1215
NCURSES_EXPORT(int) mvaddwstr (int a1, int a2, const wchar_t * z)
1216
{
1217
	T((T_CALLED("mvaddwstr(%d,%d,%p)"), a1, a2, z)); returnCode(mvaddwstr(a1, a2, z));
1218
}
1219
#endif
1220
1221
1222
#if USE_WIDEC_SUPPORT
1223
#undef mvget_wch
1224
NCURSES_EXPORT(int) mvget_wch (int a1, int a2, wint_t * z)
1225
{
1226
	T((T_CALLED("mvget_wch(%d,%d,%p)"), a1, a2, z)); returnCode(mvget_wch(a1, a2, z));
1227
}
1228
#endif
1229
1230
1231
#if USE_WIDEC_SUPPORT
1232
#undef mvget_wstr
1233
NCURSES_EXPORT(int) mvget_wstr (int a1, int a2, wint_t * z)
1234
{
1235
	T((T_CALLED("mvget_wstr(%d,%d,%p)"), a1, a2, z)); returnCode(mvget_wstr(a1, a2, z));
1236
}
1237
#endif
1238
1239
1240
#if USE_WIDEC_SUPPORT
1241
#undef mvgetn_wstr
1242
NCURSES_EXPORT(int) mvgetn_wstr (int a1, int a2, wint_t * a3, int z)
1243
{
1244
	T((T_CALLED("mvgetn_wstr(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode(mvgetn_wstr(a1, a2, a3, z));
1245
}
1246
#endif
1247
1248
1249
#if USE_WIDEC_SUPPORT
1250
#undef mvhline_set
1251
NCURSES_EXPORT(int) mvhline_set (int a1, int a2, const cchar_t * a3, int z)
1252
{
1253
	T((T_CALLED("mvhline_set(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode(mvhline_set(a1, a2, a3, z));
1254
}
1255
#endif
1256
1257
1258
#if USE_WIDEC_SUPPORT
1259
#undef mvin_wch
1260
NCURSES_EXPORT(int) mvin_wch (int a1, int a2, cchar_t * z)
1261
{
1262
	T((T_CALLED("mvin_wch(%d,%d,%p)"), a1, a2, z)); returnCode(mvin_wch(a1, a2, z));
1263
}
1264
#endif
1265
1266
1267
#if USE_WIDEC_SUPPORT
1268
#undef mvin_wchnstr
1269
NCURSES_EXPORT(int) mvin_wchnstr (int a1, int a2, cchar_t * a3, int z)
1270
{
1271
	T((T_CALLED("mvin_wchnstr(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode(mvin_wchnstr(a1, a2, a3, z));
1272
}
1273
#endif
1274
1275
1276
#if USE_WIDEC_SUPPORT
1277
#undef mvin_wchstr
1278
NCURSES_EXPORT(int) mvin_wchstr (int a1, int a2, cchar_t * z)
1279
{
1280
	T((T_CALLED("mvin_wchstr(%d,%d,%p)"), a1, a2, z)); returnCode(mvin_wchstr(a1, a2, z));
1281
}
1282
#endif
1283
1284
1285
#if USE_WIDEC_SUPPORT
1286
#undef mvinnwstr
1287
NCURSES_EXPORT(int) mvinnwstr (int a1, int a2, wchar_t * a3, int z)
1288
{
1289
	return mvinnwstr(a1, a2, a3, z) ;
1290
}
1291
#endif
1292
1293
1294
#if USE_WIDEC_SUPPORT
1295
#undef mvins_nwstr
1296
NCURSES_EXPORT(int) mvins_nwstr (int a1, int a2, const wchar_t * a3, int z)
1297
{
1298
	T((T_CALLED("mvins_nwstr(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode(mvins_nwstr(a1, a2, a3, z));
1299
}
1300
#endif
1301
1302
1303
#if USE_WIDEC_SUPPORT
1304
#undef mvins_wch
1305
NCURSES_EXPORT(int) mvins_wch (int a1, int a2, const cchar_t * z)
1306
{
1307
	T((T_CALLED("mvins_wch(%d,%d,%p)"), a1, a2, z)); returnCode(mvins_wch(a1, a2, z));
1308
}
1309
#endif
1310
1311
1312
#if USE_WIDEC_SUPPORT
1313
#undef mvins_wstr
1314
NCURSES_EXPORT(int) mvins_wstr (int a1, int a2, const wchar_t * z)
1315
{
1316
	T((T_CALLED("mvins_wstr(%d,%d,%p)"), a1, a2, z)); returnCode(mvins_wstr(a1, a2, z));
1317
}
1318
#endif
1319
1320
1321
#if USE_WIDEC_SUPPORT
1322
#undef mvinwstr
1323
NCURSES_EXPORT(int) mvinwstr (int a1, int a2, wchar_t * z)
1324
{
1325
	T((T_CALLED("mvinwstr(%d,%d,%p)"), a1, a2, z)); returnCode(mvinwstr(a1, a2, z));
1326
}
1327
#endif
1328
1329
1330
#if USE_WIDEC_SUPPORT
1331
#undef mvvline_set
1332
NCURSES_EXPORT(int) mvvline_set (int a1, int a2, const cchar_t * a3, int z)
1333
{
1334
	T((T_CALLED("mvvline_set(%d,%d,%p,%d)"), a1, a2, a3, z)); returnCode(mvvline_set(a1, a2, a3, z));
1335
}
1336
#endif
1337
1338
1339
#if USE_WIDEC_SUPPORT
1340
#undef mvwadd_wch
1341
NCURSES_EXPORT(int) mvwadd_wch (WINDOW * a1, int a2, int a3, const cchar_t * z)
1342
{
1343
	T((T_CALLED("mvwadd_wch(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwadd_wch(a1, a2, a3, z));
1344
}
1345
#endif
1346
1347
1348
#if USE_WIDEC_SUPPORT
1349
#undef mvwadd_wchnstr
1350
NCURSES_EXPORT(int) mvwadd_wchnstr (WINDOW * a1, int a2, int a3, const cchar_t * a4, int z)
1351
{
1352
	T((T_CALLED("mvwadd_wchnstr(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode(mvwadd_wchnstr(a1, a2, a3, a4, z));
1353
}
1354
#endif
1355
1356
1357
#if USE_WIDEC_SUPPORT
1358
#undef mvwadd_wchstr
1359
NCURSES_EXPORT(int) mvwadd_wchstr (WINDOW * a1, int a2, int a3, const cchar_t * z)
1360
{
1361
	T((T_CALLED("mvwadd_wchstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwadd_wchstr(a1, a2, a3, z));
1362
}
1363
#endif
1364
1365
1366
#if USE_WIDEC_SUPPORT
1367
#undef mvwaddnwstr
1368
NCURSES_EXPORT(int) mvwaddnwstr (WINDOW * a1, int a2, int a3, const wchar_t * a4, int z)
1369
{
1370
	T((T_CALLED("mvwaddnwstr(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode(mvwaddnwstr(a1, a2, a3, a4, z));
1371
}
1372
#endif
1373
1374
1375
#if USE_WIDEC_SUPPORT
1376
#undef mvwaddwstr
1377
NCURSES_EXPORT(int) mvwaddwstr (WINDOW * a1, int a2, int a3, const wchar_t * z)
1378
{
1379
	T((T_CALLED("mvwaddwstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwaddwstr(a1, a2, a3, z));
1380
}
1381
#endif
1382
1383
1384
#if USE_WIDEC_SUPPORT
1385
#undef mvwget_wch
1386
NCURSES_EXPORT(int) mvwget_wch (WINDOW * a1, int a2, int a3, wint_t * z)
1387
{
1388
	T((T_CALLED("mvwget_wch(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwget_wch(a1, a2, a3, z));
1389
}
1390
#endif
1391
1392
1393
#if USE_WIDEC_SUPPORT
1394
#undef mvwget_wstr
1395
NCURSES_EXPORT(int) mvwget_wstr (WINDOW * a1, int a2, int a3, wint_t * z)
1396
{
1397
	T((T_CALLED("mvwget_wstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwget_wstr(a1, a2, a3, z));
1398
}
1399
#endif
1400
1401
1402
#if USE_WIDEC_SUPPORT
1403
#undef mvwgetn_wstr
1404
NCURSES_EXPORT(int) mvwgetn_wstr (WINDOW * a1, int a2, int a3, wint_t * a4, int z)
1405
{
1406
	T((T_CALLED("mvwgetn_wstr(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode(mvwgetn_wstr(a1, a2, a3, a4, z));
1407
}
1408
#endif
1409
1410
1411
#if USE_WIDEC_SUPPORT
1412
#undef mvwhline_set
1413
NCURSES_EXPORT(int) mvwhline_set (WINDOW * a1, int a2, int a3, const cchar_t * a4, int z)
1414
{
1415
	T((T_CALLED("mvwhline_set(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode(mvwhline_set(a1, a2, a3, a4, z));
1416
}
1417
#endif
1418
1419
1420
#if USE_WIDEC_SUPPORT
1421
#undef mvwin_wch
1422
NCURSES_EXPORT(int) mvwin_wch (WINDOW * a1, int a2, int a3, cchar_t * z)
1423
{
1424
	T((T_CALLED("mvwin_wch(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwin_wch(a1, a2, a3, z));
1425
}
1426
#endif
1427
1428
1429
#if USE_WIDEC_SUPPORT
1430
#undef mvwin_wchnstr
1431
NCURSES_EXPORT(int) mvwin_wchnstr (WINDOW * a1, int a2, int a3, cchar_t * a4, int z)
1432
{
1433
	T((T_CALLED("mvwin_wchnstr(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode(mvwin_wchnstr(a1, a2, a3, a4, z));
1434
}
1435
#endif
1436
1437
1438
#if USE_WIDEC_SUPPORT
1439
#undef mvwin_wchstr
1440
NCURSES_EXPORT(int) mvwin_wchstr (WINDOW * a1, int a2, int a3, cchar_t * z)
1441
{
1442
	T((T_CALLED("mvwin_wchstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwin_wchstr(a1, a2, a3, z));
1443
}
1444
#endif
1445
1446
1447
#if USE_WIDEC_SUPPORT
1448
#undef mvwinnwstr
1449
NCURSES_EXPORT(int) mvwinnwstr (WINDOW * a1, int a2, int a3, wchar_t * a4, int z)
1450
{
1451
	return mvwinnwstr(a1, a2, a3, a4, z) ;
1452
}
1453
#endif
1454
1455
1456
#if USE_WIDEC_SUPPORT
1457
#undef mvwins_nwstr
1458
NCURSES_EXPORT(int) mvwins_nwstr (WINDOW * a1, int a2, int a3, const wchar_t * a4, int z)
1459
{
1460
	T((T_CALLED("mvwins_nwstr(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode(mvwins_nwstr(a1, a2, a3, a4, z));
1461
}
1462
#endif
1463
1464
1465
#if USE_WIDEC_SUPPORT
1466
#undef mvwins_wch
1467
NCURSES_EXPORT(int) mvwins_wch (WINDOW * a1, int a2, int a3, const cchar_t * z)
1468
{
1469
	T((T_CALLED("mvwins_wch(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwins_wch(a1, a2, a3, z));
1470
}
1471
#endif
1472
1473
1474
#if USE_WIDEC_SUPPORT
1475
#undef mvwins_wstr
1476
NCURSES_EXPORT(int) mvwins_wstr (WINDOW * a1, int a2, int a3, const wchar_t * z)
1477
{
1478
	T((T_CALLED("mvwins_wstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwins_wstr(a1, a2, a3, z));
1479
}
1480
#endif
1481
1482
1483
#if USE_WIDEC_SUPPORT
1484
#undef mvwinwstr
1485
NCURSES_EXPORT(int) mvwinwstr (WINDOW * a1, int a2, int a3, wchar_t * z)
1486
{
1487
	T((T_CALLED("mvwinwstr(%p,%d,%d,%p)"), a1, a2, a3, z)); returnCode(mvwinwstr(a1, a2, a3, z));
1488
}
1489
#endif
1490
1491
1492
#if USE_WIDEC_SUPPORT
1493
#undef mvwvline_set
1494
NCURSES_EXPORT(int) mvwvline_set (WINDOW * a1, int a2, int a3, const cchar_t * a4, int z)
1495
{
1496
	T((T_CALLED("mvwvline_set(%p,%d,%d,%p,%d)"), a1, a2, a3, a4, z)); returnCode(mvwvline_set(a1, a2, a3, a4, z));
1497
}
1498
#endif
1499
1500
1501
#if USE_WIDEC_SUPPORT
1502
#undef vline_set
1503
NCURSES_EXPORT(int) vline_set (const cchar_t * a1, int z)
1504
{
1505
	T((T_CALLED("vline_set(%p,%d)"), a1, z)); returnCode(vline_set(a1, z));
1506
}
1507
#endif
1508
1509
1510
#if USE_WIDEC_SUPPORT
1511
#undef wadd_wchstr
1512
NCURSES_EXPORT(int) wadd_wchstr (WINDOW * a1, const cchar_t * z)
1513
{
1514
	T((T_CALLED("wadd_wchstr(%p,%p)"), a1, z)); returnCode(wadd_wchstr(a1, z));
1515
}
1516
#endif
1517
1518
1519
#if USE_WIDEC_SUPPORT
1520
#undef waddwstr
1521
NCURSES_EXPORT(int) waddwstr (WINDOW * a1, const wchar_t * z)
1522
{
1523
	T((T_CALLED("waddwstr(%p,%p)"), a1, z)); returnCode(waddwstr(a1, z));
1524
}
1525
#endif
1526
1527
1528
#if USE_WIDEC_SUPPORT
1529
#undef wget_wstr
1530
NCURSES_EXPORT(int) wget_wstr (WINDOW * a1, wint_t * z)
1531
{
1532
	T((T_CALLED("wget_wstr(%p,%p)"), a1, z)); returnCode(wget_wstr(a1, z));
1533
}
1534
#endif
1535
1536
1537
#if USE_WIDEC_SUPPORT
1538
#undef wgetbkgrnd
1539
NCURSES_EXPORT(int) wgetbkgrnd (WINDOW * a1, cchar_t * z)
1540
{
1541
	T((T_CALLED("wgetbkgrnd(%p,%p)"), a1, z)); returnCode(wgetbkgrnd(a1, z));
1542
}
1543
#endif
1544
1545
1546
#if USE_WIDEC_SUPPORT
1547
#undef win_wchstr
1548
NCURSES_EXPORT(int) win_wchstr (WINDOW * a1, cchar_t * z)
1549
{
1550
	T((T_CALLED("win_wchstr(%p,%p)"), a1, z)); returnCode(win_wchstr(a1, z));
1551
}
1552
#endif
1553
1554
1555
#if USE_WIDEC_SUPPORT
1556
#undef wins_wstr
1557
NCURSES_EXPORT(int) wins_wstr (WINDOW * a1, const wchar_t * z)
1558
{
1559
	T((T_CALLED("wins_wstr(%p,%p)"), a1, z)); returnCode(wins_wstr(a1, z));
1560
}
1561
#endif
1562
1563
1564
#undef mouse_trafo
1565
NCURSES_EXPORT(NCURSES_BOOL) mouse_trafo (int * a1, int * a2, NCURSES_BOOL z)
1566
{
1567
	T((T_CALLED("mouse_trafo(%p,%p,%#lx)"), a1, a2, (long)z)); returnBool(wmouse_trafo(stdscr,a1,a2,z));
1568
}