/* This file was generated by /usr/src/ports/ncurses/ncurses-6.0-12.20171125.x86_64/src/ncurses-6.0-20171125/ncurses/base/MKlib_gen.sh */

/*
 * DO NOT EDIT THIS FILE BY HAND!
 *
 * This is a file of trivial functions generated from macro
 * definitions in curses.h to satisfy the XSI Curses requirement
 * that every macro also exist as a callable function.
 *
 * It will never be linked unless you call one of the entry
 * points with its normal macro definition disabled. In that
 * case, if you have no shared libraries, it will indirectly
 * pull most of the rest of the library into your link image.
 */
#define NCURSES_ATTR_T int
#include <ncurses_cfg.h>

#undef NCURSES_NOMACROS /* _this_ file uses macros */

#include <curses.priv.h>

#undef vw_scanw
#undef vwscanw

#undef vw_printw
#undef vwprintw
NCURSES_EXPORT(int) (addch) (const chtype z)
{
	T((T_CALLED("addch(%s)"), _tracechtype2(0,z)));
	returnCode(waddch(ncwrap_stdscr(),(z)));
}
NCURSES_EXPORT(int) (addchnstr) (const chtype * a1, int z)
{
	T((T_CALLED("addchnstr(%p,%d)"), (const void *)a1, z));
	returnCode(waddchnstr(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (addchstr) (const chtype * z)
{
	T((T_CALLED("addchstr(%p)"), (const void *)z));
	returnCode(waddchnstr(ncwrap_stdscr(),(z),-1));
}
NCURSES_EXPORT(int) (addnstr) (const char * a1, int z)
{
	T((T_CALLED("addnstr(%s,%d)"), _nc_visbuf2(0,a1), z));
	returnCode(waddnstr(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (addstr) (const char * z)
{
	T((T_CALLED("addstr(%s)"), _nc_visbuf2(0,z)));
	returnCode(waddnstr(ncwrap_stdscr(),(z),-1));
}
NCURSES_EXPORT(int) (attroff) (int z)
{
	T((T_CALLED("attroff(%s)"), _traceattr2(0,(chtype)z)));
	returnCode(wattr_off(ncwrap_stdscr(), (attr_t)((z)), ((void *)0)));
}
NCURSES_EXPORT(int) (attron) (int z)
{
	T((T_CALLED("attron(%s)"), _traceattr2(0,(chtype)z)));
	returnCode(wattr_on(ncwrap_stdscr(), (attr_t)((z)), ((void *)0)));
}
NCURSES_EXPORT(int) (attrset) (int z)
{
	T((T_CALLED("attrset(%s)"), _traceattr2(0,(chtype)z)));
	returnIntAttr((attr_t)((0 != (const void *)((ncwrap_stdscr()))) ? ((ncwrap_stdscr())->_color = (int)(((int)((((unsigned long)(((z))) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))) >> 8)))), (ncwrap_stdscr())->_attrs = (attr_t)((z)), (0)) : (-1)));
}
NCURSES_EXPORT(int) (attr_get) (attr_t * a1, short * a2, void * z GCC_UNUSED)
{
	T((T_CALLED("attr_get(%p,%p,%p)"), (const void *)a1, (const void *)a2, (const void *)z));
	returnCode(((0 != (const void *)((ncwrap_stdscr()))) ? ((void)((0 != (const void *)(((a1)))) ? (*((a1)) = (ncwrap_stdscr())->_attrs) : (0)), (void)((0 != (const void *)(((a2)))) ? (*((a2)) = (short) (ncwrap_stdscr())->_color) : (0)), (void)((0 != (const void *)(((z)))) ? (*(int *)((z)) = (ncwrap_stdscr())->_color) : (0)), (0)) : (-1)));
}
NCURSES_EXPORT(int) (attr_off) (attr_t a1, void * z)
{
	T((T_CALLED("attr_off(%s,%p)"), _traceattr2(0,a1), (const void *)z));
	returnCode(wattr_off(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (attr_on) (attr_t a1, void * z)
{
	T((T_CALLED("attr_on(%s,%p)"), _traceattr2(0,a1), (const void *)z));
	returnCode(wattr_on(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (attr_set) (attr_t a1, short a2, void * z GCC_UNUSED)
{
	T((T_CALLED("attr_set(%s,%#lx,%p)"), _traceattr2(0,a1), (long)a2, (const void *)z));
	returnCode(((0 != (const void *)((ncwrap_stdscr()))) ? ((void)((ncwrap_stdscr())->_attrs = (((a1)) & ~((chtype)((((1U) << 8) - 1U)) << ((0) + 8))), (ncwrap_stdscr())->_color = ((z)) ? *(int *)((z)) : ((a2))), (0)) : (-1)));
}
NCURSES_EXPORT(int) (bkgd) (chtype z)
{
	T((T_CALLED("bkgd(%s)"), _tracechtype2(0,z)));
	returnCode(wbkgd(ncwrap_stdscr(),(z)));
}
NCURSES_EXPORT(void) (bkgdset) (chtype z)
{
	T((T_CALLED("bkgdset(%s)"), _tracechtype2(0,z)));
	wbkgdset(ncwrap_stdscr(),(z));
	returnVoid;
}
NCURSES_EXPORT(int) (border) (chtype a1, chtype a2, chtype a3, chtype a4, chtype a5, chtype a6, chtype a7, chtype z)
{
	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(ncwrap_stdscr(), a1, a2, a3, a4, a5, a6, a7, z));
}
NCURSES_EXPORT(int) (box) (WINDOW * a1, chtype a2, chtype z)
{
	T((T_CALLED("box(%p,%s,%s)"), (const void *)a1, _tracechtype2(1,a2), _tracechtype2(2,z)));
	returnCode(wborder(a1, a2, a2, z, z, 0, 0, 0, 0));
}
NCURSES_EXPORT(int) (chgat) (int a1, attr_t a2, short a3, const void * z)
{
	T((T_CALLED("chgat(%d,%s,%#lx,%p)"), a1, _traceattr2(1,a2), (long)a3, (const void *)z));
	returnCode(wchgat(ncwrap_stdscr(),(a1),(a2),(a3),(z)));
}
NCURSES_EXPORT(int) (clear) (void)
{
	T((T_CALLED("clear()")));
	returnCode(wclear(ncwrap_stdscr()));
}
NCURSES_EXPORT(int) (clrtobot) (void)
{
	T((T_CALLED("clrtobot()")));
	returnCode(wclrtobot(ncwrap_stdscr()));
}
NCURSES_EXPORT(int) (clrtoeol) (void)
{
	T((T_CALLED("clrtoeol()")));
	returnCode(wclrtoeol(ncwrap_stdscr()));
}
NCURSES_EXPORT(int) (color_set) (short a1, void * z)
{
	T((T_CALLED("color_set(%#lx,%p)"), (long)a1, (const void *)z));
	returnCode(wcolor_set(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (COLOR_PAIR) (int z)
{
	T((T_CALLED("COLOR_PAIR(%d)"), z));
	returnCode((((chtype)(((z))) << ((0) + 8)) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))));
}
NCURSES_EXPORT(int) (delch) (void)
{
	T((T_CALLED("delch()")));
	returnCode(wdelch(ncwrap_stdscr()));
}
NCURSES_EXPORT(int) (deleteln) (void)
{
	T((T_CALLED("deleteln()")));
	returnCode(winsdelln(ncwrap_stdscr(),-1));
}
NCURSES_EXPORT(int) (echochar) (const chtype z)
{
	T((T_CALLED("echochar(%s)"), _tracechtype2(0,z)));
	returnCode(wechochar(ncwrap_stdscr(),(z)));
}
NCURSES_EXPORT(int) (erase) (void)
{
	T((T_CALLED("erase()")));
	returnCode(werase(ncwrap_stdscr()));
}
NCURSES_EXPORT(chtype) (getbkgd) (WINDOW * z)
{
	T((T_CALLED("getbkgd(%p)"), (const void *)z));
	returnChtype(((0 != (const void *)((z))) ? ((z)->_bkgd) : 0));
}
NCURSES_EXPORT(int) (getch) (void)
{
	T((T_CALLED("getch()")));
	returnCode(wgetch(ncwrap_stdscr()));
}
NCURSES_EXPORT(int) (getnstr) (char * a1, int z)
{
	T((T_CALLED("getnstr(%p,%d)"), _nc_visbuf2(0,a1), z));
	returnCode(wgetnstr(ncwrap_stdscr(), a1, (z)));
}
NCURSES_EXPORT(int) (getstr) (char * z)
{
	T((T_CALLED("getstr(%p)"), _nc_visbuf2(0,z)));
	returnCode(wgetnstr(ncwrap_stdscr(), (z), -1));
}
NCURSES_EXPORT(int) (hline) (chtype a1, int z)
{
	T((T_CALLED("hline(%s,%d)"), _tracechtype2(0,a1), z));
	returnCode(whline(ncwrap_stdscr(), a1, (z)));
}
NCURSES_EXPORT(chtype) (inch) (void)
{
	T((T_CALLED("inch()")));
	returnChtype(winch(ncwrap_stdscr()));
}
NCURSES_EXPORT(int) (inchnstr) (chtype * a1, int z)
{
	T((T_CALLED("inchnstr(%p,%d)"), (const void *)a1, z));
	returnCode(winchnstr(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (inchstr) (chtype * z)
{
	T((T_CALLED("inchstr(%p)"), (const void *)z));
	returnCode(winchnstr(ncwrap_stdscr(), (z), -1));
}
NCURSES_EXPORT(int) (innstr) (char * a1, int z)
{
	return winnstr(ncwrap_stdscr(),(a1),(z)) ;
}
NCURSES_EXPORT(int) (insch) (chtype z)
{
	T((T_CALLED("insch(%s)"), _tracechtype2(0,z)));
	returnCode(winsch(ncwrap_stdscr(),(z)));
}
NCURSES_EXPORT(int) (insdelln) (int z)
{
	T((T_CALLED("insdelln(%d)"), z));
	returnCode(winsdelln(ncwrap_stdscr(),(z)));
}
NCURSES_EXPORT(int) (insertln) (void)
{
	T((T_CALLED("insertln()")));
	returnCode(winsdelln(ncwrap_stdscr(),1));
}
NCURSES_EXPORT(int) (insnstr) (const char * a1, int z)
{
	T((T_CALLED("insnstr(%s,%d)"), _nc_visbuf2(0,a1), z));
	returnCode(winsnstr(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (insstr) (const char * z)
{
	T((T_CALLED("insstr(%s)"), _nc_visbuf2(0,z)));
	returnCode(winsnstr(ncwrap_stdscr(), (z), -1));
}
NCURSES_EXPORT(int) (instr) (char * z)
{
	T((T_CALLED("instr(%s)"), _nc_visbuf2(0,z)));
	returnCode(winnstr(ncwrap_stdscr(), (z), -1));
}
NCURSES_EXPORT(int) (move) (int a1, int z)
{
	T((T_CALLED("move(%d,%d)"), a1, z));
	returnCode(wmove(ncwrap_stdscr(),(a1),(z)));
}
NCURSES_EXPORT(int) (mvaddch) (int a1, int a2, const chtype z)
{
	T((T_CALLED("mvaddch(%d,%d,%s)"), a1, a2, _tracechtype2(2,z)));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : waddch((ncwrap_stdscr()),((z)))));
}
NCURSES_EXPORT(int) (mvaddchnstr) (int a1, int a2, const chtype * a3, int z)
{
	T((T_CALLED("mvaddchnstr(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : waddchnstr((ncwrap_stdscr()),((a3)),((z)))));
}
NCURSES_EXPORT(int) (mvaddchstr) (int a1, int a2, const chtype * z)
{
	T((T_CALLED("mvaddchstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : waddchnstr((ncwrap_stdscr()),((z)),-1)));
}
NCURSES_EXPORT(int) (mvaddnstr) (int a1, int a2, const char * a3, int z)
{
	T((T_CALLED("mvaddnstr(%d,%d,%s,%d)"), a1, a2, _nc_visbuf2(2,a3), z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : waddnstr((ncwrap_stdscr()),((a3)),((z)))));
}
NCURSES_EXPORT(int) (mvaddstr) (int a1, int a2, const char * z)
{
	T((T_CALLED("mvaddstr(%d,%d,%s)"), a1, a2, _nc_visbuf2(2,z)));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : waddnstr((ncwrap_stdscr()),((z)),-1)));
}
NCURSES_EXPORT(int) (mvchgat) (int a1, int a2, int a3, attr_t a4, short a5, const void * z)
{
	T((T_CALLED("mvchgat(%d,%d,%d,%s,%#lx,%p)"), a1, a2, a3, _traceattr2(3,a4), (long)a5, (const void *)z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : wchgat((ncwrap_stdscr()),((a3)),((a4)),((a5)),((z)))));
}
NCURSES_EXPORT(int) (mvdelch) (int a1, int z)
{
	T((T_CALLED("mvdelch(%d,%d)"), a1, z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((z))) == (-1) ? (-1) : wdelch(ncwrap_stdscr())));
}
NCURSES_EXPORT(int) (mvgetch) (int a1, int z)
{
	T((T_CALLED("mvgetch(%d,%d)"), a1, z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((z))) == (-1) ? (-1) : wgetch(ncwrap_stdscr())));
}
NCURSES_EXPORT(int) (mvgetnstr) (int a1, int a2, char * a3, int z)
{
	T((T_CALLED("mvgetnstr(%d,%d,%p,%d)"), a1, a2, _nc_visbuf2(2,a3), z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : wgetnstr((ncwrap_stdscr()),((a3)),((z)))));
}
NCURSES_EXPORT(int) (mvgetstr) (int a1, int a2, char * z)
{
	T((T_CALLED("mvgetstr(%d,%d,%p)"), a1, a2, _nc_visbuf2(2,z)));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : wgetnstr((ncwrap_stdscr()), ((z)), -1)));
}
NCURSES_EXPORT(int) (mvhline) (int a1, int a2, chtype a3, int z)
{
	T((T_CALLED("mvhline(%d,%d,%s,%d)"), a1, a2, _tracechtype2(2,a3), z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : whline((ncwrap_stdscr()),((a3)),((z)))));
}
NCURSES_EXPORT(chtype) (mvinch) (int a1, int z)
{
	T((T_CALLED("mvinch(%d,%d)"), a1, z));
	returnChtype((wmove((ncwrap_stdscr()),((a1)),((z))) == (-1) ? (chtype)((-1)) : winch(ncwrap_stdscr())));
}
NCURSES_EXPORT(int) (mvinchnstr) (int a1, int a2, chtype * a3, int z)
{
	T((T_CALLED("mvinchnstr(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : winchnstr((ncwrap_stdscr()),((a3)),((z)))));
}
NCURSES_EXPORT(int) (mvinchstr) (int a1, int a2, chtype * z)
{
	T((T_CALLED("mvinchstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : winchnstr((ncwrap_stdscr()), ((z)), -1)));
}
NCURSES_EXPORT(int) (mvinnstr) (int a1, int a2, char * a3, int z)
{
	return (wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : winnstr((ncwrap_stdscr()),((a3)),((z)))) ;
}
NCURSES_EXPORT(int) (mvinsch) (int a1, int a2, chtype z)
{
	T((T_CALLED("mvinsch(%d,%d,%s)"), a1, a2, _tracechtype2(2,z)));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : winsch((ncwrap_stdscr()),((z)))));
}
NCURSES_EXPORT(int) (mvinsnstr) (int a1, int a2, const char * a3, int z)
{
	T((T_CALLED("mvinsnstr(%d,%d,%s,%d)"), a1, a2, _nc_visbuf2(2,a3), z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : winsnstr((ncwrap_stdscr()),((a3)),((z)))));
}
NCURSES_EXPORT(int) (mvinsstr) (int a1, int a2, const char * z)
{
	T((T_CALLED("mvinsstr(%d,%d,%s)"), a1, a2, _nc_visbuf2(2,z)));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : winsnstr((ncwrap_stdscr()), ((z)), -1)));
}
NCURSES_EXPORT(int) (mvinstr) (int a1, int a2, char * z)
{
	T((T_CALLED("mvinstr(%d,%d,%s)"), a1, a2, _nc_visbuf2(2,z)));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : winnstr((ncwrap_stdscr()), ((z)), -1)));
}
NCURSES_EXPORT(int) (mvvline) (int a1, int a2, chtype a3, int z)
{
	T((T_CALLED("mvvline(%d,%d,%s,%d)"), a1, a2, _tracechtype2(2,a3), z));
	returnCode((wmove((ncwrap_stdscr()),((a1)),((a2))) == (-1) ? (-1) : wvline((ncwrap_stdscr()),((a3)),((z)))));
}
NCURSES_EXPORT(int) (mvwaddch) (WINDOW * a1, int a2, int a3, const chtype z)
{
	T((T_CALLED("mvwaddch(%p,%d,%d,%s)"), (const void *)a1, a2, a3, _tracechtype2(3,z)));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : waddch((a1),(z))));
}
NCURSES_EXPORT(int) (mvwaddchnstr) (WINDOW * a1, int a2, int a3, const chtype * a4, int z)
{
	T((T_CALLED("mvwaddchnstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : waddchnstr((a1),(a4),(z))));
}
NCURSES_EXPORT(int) (mvwaddchstr) (WINDOW * a1, int a2, int a3, const chtype * z)
{
	T((T_CALLED("mvwaddchstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : waddchnstr((a1),(z),-1)));
}
NCURSES_EXPORT(int) (mvwaddnstr) (WINDOW * a1, int a2, int a3, const char * a4, int z)
{
	T((T_CALLED("mvwaddnstr(%p,%d,%d,%s,%d)"), (const void *)a1, a2, a3, _nc_visbuf2(3,a4), z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : waddnstr((a1),(a4),(z))));
}
NCURSES_EXPORT(int) (mvwaddstr) (WINDOW * a1, int a2, int a3, const char * z)
{
	T((T_CALLED("mvwaddstr(%p,%d,%d,%s)"), (const void *)a1, a2, a3, _nc_visbuf2(3,z)));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : waddnstr((a1),(z),-1)));
}
NCURSES_EXPORT(int) (mvwchgat) (WINDOW * a1, int a2, int a3, int a4, attr_t a5, short a6, const void * z)
{
	T((T_CALLED("mvwchgat(%p,%d,%d,%d,%s,%#lx,%p)"), (const void *)a1, a2, a3, a4, _traceattr2(4,a5), (long)a6, (const void *)z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : wchgat((a1),(a4),(a5),(a6),(z))));
}
NCURSES_EXPORT(int) (mvwdelch) (WINDOW * a1, int a2, int z)
{
	T((T_CALLED("mvwdelch(%p,%d,%d)"), (const void *)a1, a2, z));
	returnCode((wmove((a1),(a2),(z)) == (-1) ? (-1) : wdelch(a1)));
}
NCURSES_EXPORT(int) (mvwgetch) (WINDOW * a1, int a2, int z)
{
	T((T_CALLED("mvwgetch(%p,%d,%d)"), (const void *)a1, a2, z));
	returnCode((wmove((a1),(a2),(z)) == (-1) ? (-1) : wgetch(a1)));
}
NCURSES_EXPORT(int) (mvwgetnstr) (WINDOW * a1, int a2, int a3, char * a4, int z)
{
	T((T_CALLED("mvwgetnstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, _nc_visbuf2(3,a4), z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : wgetnstr((a1),(a4),(z))));
}
NCURSES_EXPORT(int) (mvwgetstr) (WINDOW * a1, int a2, int a3, char * z)
{
	T((T_CALLED("mvwgetstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, _nc_visbuf2(3,z)));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : wgetnstr((a1), (z), -1)));
}
NCURSES_EXPORT(int) (mvwhline) (WINDOW * a1, int a2, int a3, chtype a4, int z)
{
	T((T_CALLED("mvwhline(%p,%d,%d,%s,%d)"), (const void *)a1, a2, a3, _tracechtype2(3,a4), z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : whline((a1),(a4),(z))));
}
NCURSES_EXPORT(chtype) (mvwinch) (WINDOW * a1, int a2, int z)
{
	T((T_CALLED("mvwinch(%p,%d,%d)"), (const void *)a1, a2, z));
	returnChtype((wmove((a1),(a2),(z)) == (-1) ? (chtype)((-1)) : winch(a1)));
}
NCURSES_EXPORT(int) (mvwinchnstr) (WINDOW * a1, int a2, int a3, chtype * a4, int z)
{
	T((T_CALLED("mvwinchnstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : winchnstr((a1),(a4),(z))));
}
NCURSES_EXPORT(int) (mvwinchstr) (WINDOW * a1, int a2, int a3, chtype * z)
{
	T((T_CALLED("mvwinchstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : winchnstr((a1), (z), -1)));
}
NCURSES_EXPORT(int) (mvwinnstr) (WINDOW * a1, int a2, int a3, char * a4, int z)
{
	return (wmove((a1),(a2),(a3)) == (-1) ? (-1) : winnstr((a1),(a4),(z))) ;
}
NCURSES_EXPORT(int) (mvwinsch) (WINDOW * a1, int a2, int a3, chtype z)
{
	T((T_CALLED("mvwinsch(%p,%d,%d,%s)"), (const void *)a1, a2, a3, _tracechtype2(3,z)));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : winsch((a1),(z))));
}
NCURSES_EXPORT(int) (mvwinsnstr) (WINDOW * a1, int a2, int a3, const char * a4, int z)
{
	T((T_CALLED("mvwinsnstr(%p,%d,%d,%s,%d)"), (const void *)a1, a2, a3, _nc_visbuf2(3,a4), z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : winsnstr((a1),(a4),(z))));
}
NCURSES_EXPORT(int) (mvwinsstr) (WINDOW * a1, int a2, int a3, const char * z)
{
	T((T_CALLED("mvwinsstr(%p,%d,%d,%s)"), (const void *)a1, a2, a3, _nc_visbuf2(3,z)));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : winsnstr((a1), (z), -1)));
}
NCURSES_EXPORT(int) (mvwinstr) (WINDOW * a1, int a2, int a3, char * z)
{
	T((T_CALLED("mvwinstr(%p,%d,%d,%s)"), (const void *)a1, a2, a3, _nc_visbuf2(3,z)));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : winnstr((a1), (z), -1)));
}
NCURSES_EXPORT(int) (mvwvline) (WINDOW * a1, int a2, int a3, chtype a4, int z)
{
	T((T_CALLED("mvwvline(%p,%d,%d,%s,%d)"), (const void *)a1, a2, a3, _tracechtype2(3,a4), z));
	returnCode((wmove((a1),(a2),(a3)) == (-1) ? (-1) : wvline((a1),(a4),(z))));
}
NCURSES_EXPORT(int) (PAIR_NUMBER) (int z)
{
	T((T_CALLED("PAIR_NUMBER(%d)"), z));
	returnCode(((int)((((unsigned long)((z)) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))) >> 8))));
}
NCURSES_EXPORT(int) (redrawwin) (WINDOW * z)
{
	T((T_CALLED("redrawwin(%p)"), (const void *)z));
	returnCode(wredrawln(z, 0, ((0 != (const void *)((z))) ? (z)->_maxy+1 : -1)));
}
NCURSES_EXPORT(int) (refresh) (void)
{
	T((T_CALLED("refresh()")));
	returnCode(wrefresh(ncwrap_stdscr()));
}
NCURSES_EXPORT(int) (scrl) (int z)
{
	T((T_CALLED("scrl(%d)"), z));
	returnCode(wscrl(ncwrap_stdscr(),(z)));
}
NCURSES_EXPORT(int) (scroll) (WINDOW * z)
{
	T((T_CALLED("scroll(%p)"), (const void *)z));
	returnCode(wscrl(z,1));
}
NCURSES_EXPORT(int) (setscrreg) (int a1, int z)
{
	T((T_CALLED("setscrreg(%d,%d)"), a1, z));
	returnCode(wsetscrreg(ncwrap_stdscr(),(a1),(z)));
}
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (slk_attr_off) (const attr_t a1, void * z)
{
	T((T_CALLED("slk_attr_off(%s,%p)"), _traceattr2(0,a1), (const void *)z));
	returnCode(((z) ? (-1) : slk_attroff(a1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (slk_attr_on) (attr_t a1, void * z)
{
	T((T_CALLED("slk_attr_on(%s,%p)"), _traceattr2(0,a1), (const void *)z));
	returnCode(((z) ? (-1) : slk_attron(a1)));
}
#endif
NCURSES_EXPORT(int) (standout) (void)
{
	T((T_CALLED("standout()")));
	returnIntAttr((attr_t)(((0 != (const void *)((ncwrap_stdscr()))) ? ((ncwrap_stdscr())->_color = (int)(((int)((((unsigned long)((((chtype)((1U)) << ((8) + 8)))) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))) >> 8)))), (ncwrap_stdscr())->_attrs = (attr_t)(((chtype)((1U)) << ((8) + 8))), (0)) : (-1))));
}
NCURSES_EXPORT(int) (standend) (void)
{
	T((T_CALLED("standend()")));
	returnIntAttr((attr_t)(((0 != (const void *)((ncwrap_stdscr()))) ? ((ncwrap_stdscr())->_color = (int)(((int)((((unsigned long)(((1U - 1U))) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))) >> 8)))), (ncwrap_stdscr())->_attrs = (attr_t)((1U - 1U)), (0)) : (-1))));
}
NCURSES_EXPORT(void) (timeout) (int z)
{
	T((T_CALLED("timeout(%d)"), z));
	wtimeout(ncwrap_stdscr(),(z));
	returnVoid;
}
NCURSES_EXPORT(int) (touchline) (WINDOW * a1, int a2, int z)
{
	T((T_CALLED("touchline(%p,%d,%d)"), (const void *)a1, a2, z));
	returnCode(wtouchln((a1), a2, z, 1));
}
NCURSES_EXPORT(int) (touchwin) (WINDOW * z)
{
	T((T_CALLED("touchwin(%p)"), (const void *)z));
	returnCode(wtouchln((z), 0, ((0 != (const void *)((z))) ? ((z)->_maxy + 1) : (-1)), 1));
}
NCURSES_EXPORT(int) (untouchwin) (WINDOW * z)
{
	T((T_CALLED("untouchwin(%p)"), (const void *)z));
	returnCode(wtouchln((z), 0, ((0 != (const void *)((z))) ? ((z)->_maxy + 1) : (-1)), 0));
}
NCURSES_EXPORT(int) (vline) (chtype a1, int z)
{
	T((T_CALLED("vline(%s,%d)"), _tracechtype2(0,a1), z));
	returnCode(wvline(ncwrap_stdscr(), a1, (z)));
}
NCURSES_EXPORT(int) (vw_printw) (WINDOW * a1, const char * a2, va_list z)
{
	T((T_CALLED("vw_printw(%p,%s,%s)"), (const void *)a1, _nc_visbuf2(1,a2), "va_list"));
	returnCode(vwprintw(a1, a2, z));
}
NCURSES_EXPORT(int) (vw_scanw) (WINDOW * a1, char * a2, va_list z)
{
	T((T_CALLED("vw_scanw(%p,%s,%s)"), (const void *)a1, _nc_visbuf2(1,a2), "va_list"));
	returnCode(vwscanw(a1, a2, z));
}
NCURSES_EXPORT(int) (waddchstr) (WINDOW * a1, const chtype * z)
{
	T((T_CALLED("waddchstr(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(waddchnstr(a1,z,-1));
}
NCURSES_EXPORT(int) (waddstr) (WINDOW * a1, const char * z)
{
	T((T_CALLED("waddstr(%p,%s)"), (const void *)a1, _nc_visbuf2(1,z)));
	returnCode(waddnstr(a1,z,-1));
}
NCURSES_EXPORT(int) (wattron) (WINDOW * a1, int z)
{
	T((T_CALLED("wattron(%p,%d)"), (const void *)a1, z));
	returnCode(wattr_on(a1, (attr_t)(z), ((void *)0)));
}
NCURSES_EXPORT(int) (wattroff) (WINDOW * a1, int z)
{
	T((T_CALLED("wattroff(%p,%d)"), (const void *)a1, z));
	returnCode(wattr_off(a1, (attr_t)(z), ((void *)0)));
}
NCURSES_EXPORT(int) (wattrset) (WINDOW * a1, int z)
{
	T((T_CALLED("wattrset(%p,%d)"), (const void *)a1, z));
	returnIntAttr((attr_t)((0 != (const void *)((a1))) ? ((a1)->_color = (int)(((int)((((unsigned long)((z)) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))) >> 8)))), (a1)->_attrs = (attr_t)(z), (0)) : (-1)));
}
NCURSES_EXPORT(int) (wattr_get) (WINDOW * a1, attr_t * a2, short * a3, void * z GCC_UNUSED)
{
	T((T_CALLED("wattr_get(%p,%p,%p,%p)"), (const void *)a1, (const void *)a2, (const void *)a3, (const void *)z));
	returnCode(((0 != (const void *)((a1))) ? ((void)((0 != (const void *)((a2))) ? (*(a2) = (a1)->_attrs) : (0)), (void)((0 != (const void *)((a3))) ? (*(a3) = (short) (a1)->_color) : (0)), (void)((0 != (const void *)((z))) ? (*(int *)(z) = (a1)->_color) : (0)), (0)) : (-1)));
}
NCURSES_EXPORT(int) (wattr_set) (WINDOW * a1, attr_t a2, short a3, void * z GCC_UNUSED)
{
	T((T_CALLED("wattr_set(%p,%s,%#lx,%p)"), (const void *)a1, _traceattr2(1,a2), (long)a3, (const void *)z));
	returnCode(((0 != (const void *)((a1))) ? ((void)((a1)->_attrs = ((a2) & ~((chtype)((((1U) << 8) - 1U)) << ((0) + 8))), (a1)->_color = (z) ? *(int *)(z) : (a3)), (0)) : (-1)));
}
NCURSES_EXPORT(int) (wdeleteln) (WINDOW * z)
{
	T((T_CALLED("wdeleteln(%p)"), (const void *)z));
	returnCode(winsdelln(z,-1));
}
NCURSES_EXPORT(int) (wgetstr) (WINDOW * a1, char * z)
{
	T((T_CALLED("wgetstr(%p,%p)"), (const void *)a1, _nc_visbuf2(1,z)));
	returnCode(wgetnstr(a1, z, -1));
}
NCURSES_EXPORT(int) (winchstr) (WINDOW * a1, chtype * z)
{
	T((T_CALLED("winchstr(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(winchnstr(a1, z, -1));
}
NCURSES_EXPORT(int) (winsertln) (WINDOW * z)
{
	T((T_CALLED("winsertln(%p)"), (const void *)z));
	returnCode(winsdelln(z,1));
}
NCURSES_EXPORT(int) (winsstr) (WINDOW * a1, const char * z)
{
	T((T_CALLED("winsstr(%p,%s)"), (const void *)a1, _nc_visbuf2(1,z)));
	returnCode(winsnstr(a1, z, -1));
}
NCURSES_EXPORT(int) (winstr) (WINDOW * a1, char * z)
{
	T((T_CALLED("winstr(%p,%s)"), (const void *)a1, _nc_visbuf2(1,z)));
	returnCode(winnstr(a1, z, -1));
}
NCURSES_EXPORT(int) (wstandout) (WINDOW * z)
{
	T((T_CALLED("wstandout(%p)"), (const void *)z));
	returnIntAttr((attr_t)(((0 != (const void *)((z))) ? ((z)->_color = (int)(((int)((((unsigned long)((((chtype)((1U)) << ((8) + 8)))) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))) >> 8)))), (z)->_attrs = (attr_t)(((chtype)((1U)) << ((8) + 8))), (0)) : (-1))));
}
NCURSES_EXPORT(int) (wstandend) (WINDOW * z)
{
	T((T_CALLED("wstandend(%p)"), (const void *)z));
	returnIntAttr((attr_t)(((0 != (const void *)((z))) ? ((z)->_color = (int)(((int)((((unsigned long)(((1U - 1U))) & ((chtype)((((1U) << 8) - 1U)) << ((0) + 8))) >> 8)))), (z)->_attrs = (attr_t)((1U - 1U)), (0)) : (-1))));
}
NCURSES_EXPORT(int) (getattrs) (const WINDOW * z)
{
	T((T_CALLED("getattrs(%p)"), (const void *)z));
	returnCode((int)((0 != (const void *)((z))) ? (z)->_attrs : (1U - 1U)));
}
NCURSES_EXPORT(int) (getcurx) (const WINDOW * z)
{
	T((T_CALLED("getcurx(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? (z)->_curx : (-1)));
}
NCURSES_EXPORT(int) (getcury) (const WINDOW * z)
{
	T((T_CALLED("getcury(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? (z)->_cury : (-1)));
}
NCURSES_EXPORT(int) (getbegx) (const WINDOW * z)
{
	T((T_CALLED("getbegx(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? (z)->_begx : (-1)));
}
NCURSES_EXPORT(int) (getbegy) (const WINDOW * z)
{
	T((T_CALLED("getbegy(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? (z)->_begy : (-1)));
}
NCURSES_EXPORT(int) (getmaxx) (const WINDOW * z)
{
	T((T_CALLED("getmaxx(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? ((z)->_maxx + 1) : (-1)));
}
NCURSES_EXPORT(int) (getmaxy) (const WINDOW * z)
{
	T((T_CALLED("getmaxy(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? ((z)->_maxy + 1) : (-1)));
}
NCURSES_EXPORT(int) (getparx) (const WINDOW * z)
{
	T((T_CALLED("getparx(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? (z)->_parx : (-1)));
}
NCURSES_EXPORT(int) (getpary) (const WINDOW * z)
{
	T((T_CALLED("getpary(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? (z)->_pary : (-1)));
}
NCURSES_EXPORT(WINDOW *) (wgetparent) (const WINDOW * z)
{
	T((T_CALLED("wgetparent(%p)"), (const void *)z));
	returnWin(((0 != (const void *)((z))) ? (z)->_parent : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_cleared) (const WINDOW * z)
{
	T((T_CALLED("is_cleared(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_clear : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_idcok) (const WINDOW * z)
{
	T((T_CALLED("is_idcok(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_idcok : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_idlok) (const WINDOW * z)
{
	T((T_CALLED("is_idlok(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_idlok : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_immedok) (const WINDOW * z)
{
	T((T_CALLED("is_immedok(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_immed : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_keypad) (const WINDOW * z)
{
	T((T_CALLED("is_keypad(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_use_keypad : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_leaveok) (const WINDOW * z)
{
	T((T_CALLED("is_leaveok(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_leaveok : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_nodelay) (const WINDOW * z)
{
	T((T_CALLED("is_nodelay(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? ((z)->_delay == 0) : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_notimeout) (const WINDOW * z)
{
	T((T_CALLED("is_notimeout(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_notimeout : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_pad) (const WINDOW * z)
{
	T((T_CALLED("is_pad(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? ((z)->_flags & 0x10) != 0 : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_scrollok) (const WINDOW * z)
{
	T((T_CALLED("is_scrollok(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_scroll : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_subwin) (const WINDOW * z)
{
	T((T_CALLED("is_subwin(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? ((z)->_flags & 0x01) != 0 : 0));
}
NCURSES_EXPORT(NCURSES_BOOL) (is_syncok) (const WINDOW * z)
{
	T((T_CALLED("is_syncok(%p)"), (const void *)z));
	returnBool(((0 != (const void *)((z))) ? (z)->_sync : 0));
}
NCURSES_EXPORT(int) (wgetdelay) (const WINDOW * z)
{
	T((T_CALLED("wgetdelay(%p)"), (const void *)z));
	returnCode(((0 != (const void *)((z))) ? (z)->_delay : 0));
}
NCURSES_EXPORT(int) (wgetscrreg) (const WINDOW * a1, int * a2, int * z)
{
	T((T_CALLED("wgetscrreg(%p,%p,%p)"), (const void *)a1, (const void *)a2, (const void *)z));
	returnCode(((0 != (const void *)((a1))) ? (*(a2) = (a1)->_regtop, *(z) = (a1)->_regbottom, (0)) : (-1)));
}
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (add_wch) (const cchar_t * z)
{
	T((T_CALLED("add_wch(%p)"), (const void *)z));
	returnCode(wadd_wch(ncwrap_stdscr(),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (add_wchnstr) (const cchar_t * a1, int z)
{
	T((T_CALLED("add_wchnstr(%p,%d)"), (const void *)a1, z));
	returnCode(wadd_wchnstr(ncwrap_stdscr(),(a1),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (add_wchstr) (const cchar_t * z)
{
	T((T_CALLED("add_wchstr(%p)"), (const void *)z));
	returnCode(wadd_wchnstr((ncwrap_stdscr()),((z)),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (addnwstr) (const wchar_t * a1, int z)
{
	T((T_CALLED("addnwstr(%p,%d)"), (const void *)a1, z));
	returnCode(waddnwstr(ncwrap_stdscr(),(a1),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (addwstr) (const wchar_t * z)
{
	T((T_CALLED("addwstr(%p)"), (const void *)z));
	returnCode(waddnwstr((ncwrap_stdscr()),((z)),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (bkgrnd) (const cchar_t * z)
{
	T((T_CALLED("bkgrnd(%p)"), (const void *)z));
	returnCode(wbkgrnd(ncwrap_stdscr(),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(void) (bkgrndset) (const cchar_t * z)
{
	T((T_CALLED("bkgrndset(%p)"), (const void *)z));
	wbkgrndset(ncwrap_stdscr(),(z));
	returnVoid;
}
#endif
#if USE_WIDEC_SUPPORT
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)
{
	T((T_CALLED("border_set(%p,%p,%p,%p,%p,%p,%p,%p)"), (const void *)a1, (const void *)a2, (const void *)a3, (const void *)a4, (const void *)a5, (const void *)a6, (const void *)a7, (const void *)z));
	returnCode(wborder_set(ncwrap_stdscr(),(a1),(a2),(a3),(a4),a5,a6,a7,z));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (box_set) (WINDOW * a1, const cchar_t * a2, const cchar_t * z)
{
	T((T_CALLED("box_set(%p,%p,%p)"), (const void *)a1, (const void *)a2, (const void *)z));
	returnCode(wborder_set((a1),(a2),(a2),(z),(z),0,0,0,0));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (echo_wchar) (const cchar_t * z)
{
	T((T_CALLED("echo_wchar(%p)"), (const void *)z));
	returnCode(wecho_wchar(ncwrap_stdscr(),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (get_wch) (wint_t * z)
{
	T((T_CALLED("get_wch(%p)"), (const void *)z));
	returnCode(wget_wch(ncwrap_stdscr(),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (get_wstr) (wint_t * z)
{
	T((T_CALLED("get_wstr(%p)"), (const void *)z));
	returnCode(wgetn_wstr((ncwrap_stdscr()),((z)),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (getbkgrnd) (cchar_t * z)
{
	T((T_CALLED("getbkgrnd(%p)"), (const void *)z));
	returnCode(((0 != (const void *)(((z)))) ? ((ncwrap_stdscr()) ? (*((z)) = (ncwrap_stdscr())->_bkgrnd) : *((z)), (0)) : (-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (getn_wstr) (wint_t * a1, int z)
{
	T((T_CALLED("getn_wstr(%p,%d)"), (const void *)a1, z));
	returnCode(wgetn_wstr(ncwrap_stdscr(),(a1),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (hline_set) (const cchar_t * a1, int z)
{
	T((T_CALLED("hline_set(%p,%d)"), (const void *)a1, z));
	returnCode(whline_set(ncwrap_stdscr(),(a1),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (in_wch) (cchar_t * z)
{
	T((T_CALLED("in_wch(%p)"), (const void *)z));
	returnCode(win_wch(ncwrap_stdscr(),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (in_wchnstr) (cchar_t * a1, int z)
{
	T((T_CALLED("in_wchnstr(%p,%d)"), (const void *)a1, z));
	returnCode(win_wchnstr(ncwrap_stdscr(),(a1),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (in_wchstr) (cchar_t * z)
{
	T((T_CALLED("in_wchstr(%p)"), (const void *)z));
	returnCode(win_wchnstr((ncwrap_stdscr()),((z)),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (innwstr) (wchar_t * a1, int z)
{
	return winnwstr(ncwrap_stdscr(),(a1),(z)) ;
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (ins_nwstr) (const wchar_t * a1, int z)
{
	T((T_CALLED("ins_nwstr(%p,%d)"), (const void *)a1, z));
	returnCode(wins_nwstr(ncwrap_stdscr(),(a1),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (ins_wch) (const cchar_t * z)
{
	T((T_CALLED("ins_wch(%p)"), (const void *)z));
	returnCode(wins_wch(ncwrap_stdscr(),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (ins_wstr) (const wchar_t * z)
{
	T((T_CALLED("ins_wstr(%p)"), (const void *)z));
	returnCode(wins_nwstr((ncwrap_stdscr()),((z)),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (inwstr) (wchar_t * z)
{
	T((T_CALLED("inwstr(%p)"), (const void *)z));
	returnCode(winwstr(ncwrap_stdscr(),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvadd_wch) (int a1, int a2, const cchar_t * z)
{
	T((T_CALLED("mvadd_wch(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wadd_wch((ncwrap_stdscr()),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvadd_wchnstr) (int a1, int a2, const cchar_t * a3, int z)
{
	T((T_CALLED("mvadd_wchnstr(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wadd_wchnstr((ncwrap_stdscr()),((a3)),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvadd_wchstr) (int a1, int a2, const cchar_t * z)
{
	T((T_CALLED("mvadd_wchstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wadd_wchnstr(((ncwrap_stdscr())),(((z))),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvaddnwstr) (int a1, int a2, const wchar_t * a3, int z)
{
	T((T_CALLED("mvaddnwstr(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : waddnwstr((ncwrap_stdscr()),((a3)),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvaddwstr) (int a1, int a2, const wchar_t * z)
{
	T((T_CALLED("mvaddwstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : waddnwstr(((ncwrap_stdscr())),(((z))),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvget_wch) (int a1, int a2, wint_t * z)
{
	T((T_CALLED("mvget_wch(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wget_wch((ncwrap_stdscr()),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvget_wstr) (int a1, int a2, wint_t * z)
{
	T((T_CALLED("mvget_wstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wgetn_wstr(((ncwrap_stdscr())),(((z))),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvgetn_wstr) (int a1, int a2, wint_t * a3, int z)
{
	T((T_CALLED("mvgetn_wstr(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wgetn_wstr((ncwrap_stdscr()),((a3)),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvhline_set) (int a1, int a2, const cchar_t * a3, int z)
{
	T((T_CALLED("mvhline_set(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : whline_set((ncwrap_stdscr()),((a3)),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvin_wch) (int a1, int a2, cchar_t * z)
{
	T((T_CALLED("mvin_wch(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : win_wch((ncwrap_stdscr()),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvin_wchnstr) (int a1, int a2, cchar_t * a3, int z)
{
	T((T_CALLED("mvin_wchnstr(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : win_wchnstr((ncwrap_stdscr()),((a3)),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvin_wchstr) (int a1, int a2, cchar_t * z)
{
	T((T_CALLED("mvin_wchstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : win_wchnstr(((ncwrap_stdscr())),(((z))),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvinnwstr) (int a1, int a2, wchar_t * a3, int z)
{
	return (wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : winnwstr((ncwrap_stdscr()),((a3)),((z)))) ;
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvins_nwstr) (int a1, int a2, const wchar_t * a3, int z)
{
	T((T_CALLED("mvins_nwstr(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wins_nwstr((ncwrap_stdscr()),((a3)),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvins_wch) (int a1, int a2, const cchar_t * z)
{
	T((T_CALLED("mvins_wch(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wins_wch((ncwrap_stdscr()),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvins_wstr) (int a1, int a2, const wchar_t * z)
{
	T((T_CALLED("mvins_wstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wins_nwstr(((ncwrap_stdscr())),(((z))),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvinwstr) (int a1, int a2, wchar_t * z)
{
	T((T_CALLED("mvinwstr(%d,%d,%p)"), a1, a2, (const void *)z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : winwstr((ncwrap_stdscr()),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvvline_set) (int a1, int a2, const cchar_t * a3, int z)
{
	T((T_CALLED("mvvline_set(%d,%d,%p,%d)"), a1, a2, (const void *)a3, z));
	returnCode((wmove(ncwrap_stdscr(),((a1)),((a2))) == (-1) ? (-1) : wvline_set((ncwrap_stdscr()),((a3)),((z)))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwadd_wch) (WINDOW * a1, int a2, int a3, const cchar_t * z)
{
	T((T_CALLED("mvwadd_wch(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wadd_wch((a1),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwadd_wchnstr) (WINDOW * a1, int a2, int a3, const cchar_t * a4, int z)
{
	T((T_CALLED("mvwadd_wchnstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wadd_wchnstr((a1),(a4),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwadd_wchstr) (WINDOW * a1, int a2, int a3, const cchar_t * z)
{
	T((T_CALLED("mvwadd_wchstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wadd_wchnstr(((a1)),((z)),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwaddnwstr) (WINDOW * a1, int a2, int a3, const wchar_t * a4, int z)
{
	T((T_CALLED("mvwaddnwstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : waddnwstr((a1),(a4),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwaddwstr) (WINDOW * a1, int a2, int a3, const wchar_t * z)
{
	T((T_CALLED("mvwaddwstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : waddnwstr(((a1)),((z)),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwget_wch) (WINDOW * a1, int a2, int a3, wint_t * z)
{
	T((T_CALLED("mvwget_wch(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wget_wch((a1),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwget_wstr) (WINDOW * a1, int a2, int a3, wint_t * z)
{
	T((T_CALLED("mvwget_wstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wgetn_wstr(((a1)),((z)),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwgetn_wstr) (WINDOW * a1, int a2, int a3, wint_t * a4, int z)
{
	T((T_CALLED("mvwgetn_wstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wgetn_wstr((a1),(a4),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwhline_set) (WINDOW * a1, int a2, int a3, const cchar_t * a4, int z)
{
	T((T_CALLED("mvwhline_set(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : whline_set((a1),(a4),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwin_wch) (WINDOW * a1, int a2, int a3, cchar_t * z)
{
	T((T_CALLED("mvwin_wch(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : win_wch((a1),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwin_wchnstr) (WINDOW * a1, int a2, int a3, cchar_t * a4, int z)
{
	T((T_CALLED("mvwin_wchnstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : win_wchnstr((a1),(a4),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwin_wchstr) (WINDOW * a1, int a2, int a3, cchar_t * z)
{
	T((T_CALLED("mvwin_wchstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : win_wchnstr(((a1)),((z)),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwinnwstr) (WINDOW * a1, int a2, int a3, wchar_t * a4, int z)
{
	return (wmove(a1,(a2),(a3)) == (-1) ? (-1) : winnwstr((a1),(a4),(z))) ;
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwins_nwstr) (WINDOW * a1, int a2, int a3, const wchar_t * a4, int z)
{
	T((T_CALLED("mvwins_nwstr(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wins_nwstr((a1),(a4),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwins_wch) (WINDOW * a1, int a2, int a3, const cchar_t * z)
{
	T((T_CALLED("mvwins_wch(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wins_wch((a1),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwins_wstr) (WINDOW * a1, int a2, int a3, const wchar_t * z)
{
	T((T_CALLED("mvwins_wstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wins_nwstr(((a1)),((z)),-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwinwstr) (WINDOW * a1, int a2, int a3, wchar_t * z)
{
	T((T_CALLED("mvwinwstr(%p,%d,%d,%p)"), (const void *)a1, a2, a3, (const void *)z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : winwstr((a1),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (mvwvline_set) (WINDOW * a1, int a2, int a3, const cchar_t * a4, int z)
{
	T((T_CALLED("mvwvline_set(%p,%d,%d,%p,%d)"), (const void *)a1, a2, a3, (const void *)a4, z));
	returnCode((wmove(a1,(a2),(a3)) == (-1) ? (-1) : wvline_set((a1),(a4),(z))));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (vline_set) (const cchar_t * a1, int z)
{
	T((T_CALLED("vline_set(%p,%d)"), (const void *)a1, z));
	returnCode(wvline_set(ncwrap_stdscr(),(a1),(z)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (wadd_wchstr) (WINDOW * a1, const cchar_t * z)
{
	T((T_CALLED("wadd_wchstr(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(wadd_wchnstr((a1),(z),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (waddwstr) (WINDOW * a1, const wchar_t * z)
{
	T((T_CALLED("waddwstr(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(waddnwstr((a1),(z),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (wget_wstr) (WINDOW * a1, wint_t * z)
{
	T((T_CALLED("wget_wstr(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(wgetn_wstr((a1),(z),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (wgetbkgrnd) (WINDOW * a1, cchar_t * z)
{
	T((T_CALLED("wgetbkgrnd(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(((0 != (const void *)((z))) ? ((a1) ? (*(z) = (a1)->_bkgrnd) : *(z), (0)) : (-1)));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (win_wchstr) (WINDOW * a1, cchar_t * z)
{
	T((T_CALLED("win_wchstr(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(win_wchnstr((a1),(z),-1));
}
#endif
#if USE_WIDEC_SUPPORT
NCURSES_EXPORT(int) (wins_wstr) (WINDOW * a1, const wchar_t * z)
{
	T((T_CALLED("wins_wstr(%p,%p)"), (const void *)a1, (const void *)z));
	returnCode(wins_nwstr((a1),(z),-1));
}
#endif
NCURSES_EXPORT(NCURSES_BOOL) (mouse_trafo) (int * a1, int * a2, NCURSES_BOOL z)
{
	T((T_CALLED("mouse_trafo(%p,%p,%#lx)"), (const void *)a1, (const void *)a2, (long)z));
	returnBool(wmouse_trafo(ncwrap_stdscr(),a1,a2,z));
}
