Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/ncurses
File: cursesw.h
// * This makes emacs happy -*-Mode: C++;-*-
[0] Fix | Delete
// vile:cppmode
[1] Fix | Delete
/****************************************************************************
[2] Fix | Delete
* Copyright (c) 1998-2014,2017 Free Software Foundation, Inc. *
[3] Fix | Delete
* *
[4] Fix | Delete
* Permission is hereby granted, free of charge, to any person obtaining a *
[5] Fix | Delete
* copy of this software and associated documentation files (the *
[6] Fix | Delete
* "Software"), to deal in the Software without restriction, including *
[7] Fix | Delete
* without limitation the rights to use, copy, modify, merge, publish, *
[8] Fix | Delete
* distribute, distribute with modifications, sublicense, and/or sell *
[9] Fix | Delete
* copies of the Software, and to permit persons to whom the Software is *
[10] Fix | Delete
* furnished to do so, subject to the following conditions: *
[11] Fix | Delete
* *
[12] Fix | Delete
* The above copyright notice and this permission notice shall be included *
[13] Fix | Delete
* in all copies or substantial portions of the Software. *
[14] Fix | Delete
* *
[15] Fix | Delete
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
[16] Fix | Delete
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
[17] Fix | Delete
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
[18] Fix | Delete
* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
[19] Fix | Delete
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
[20] Fix | Delete
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
[21] Fix | Delete
* THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
[22] Fix | Delete
* *
[23] Fix | Delete
* Except as contained in this notice, the name(s) of the above copyright *
[24] Fix | Delete
* holders shall not be used in advertising or otherwise to promote the *
[25] Fix | Delete
* sale, use or other dealings in this Software without prior written *
[26] Fix | Delete
* authorization. *
[27] Fix | Delete
****************************************************************************/
[28] Fix | Delete
[29] Fix | Delete
#ifndef NCURSES_CURSESW_H_incl
[30] Fix | Delete
#define NCURSES_CURSESW_H_incl 1
[31] Fix | Delete
[32] Fix | Delete
// $Id: cursesw.h,v 1.53 2017/11/21 00:37:23 tom Exp $
[33] Fix | Delete
[34] Fix | Delete
extern "C" {
[35] Fix | Delete
# include <curses.h>
[36] Fix | Delete
}
[37] Fix | Delete
[38] Fix | Delete
#include <etip.h>
[39] Fix | Delete
[40] Fix | Delete
/* SCO 3.2v4 curses.h includes term.h, which defines lines as a macro.
[41] Fix | Delete
Undefine it here, because NCursesWindow uses lines as a method. */
[42] Fix | Delete
#undef lines
[43] Fix | Delete
[44] Fix | Delete
/* "Convert" macros to inlines. We'll define it as another symbol to avoid
[45] Fix | Delete
* conflict with library symbols.
[46] Fix | Delete
*/
[47] Fix | Delete
#undef UNDEF
[48] Fix | Delete
#define UNDEF(name) CUR_ ##name
[49] Fix | Delete
[50] Fix | Delete
#ifdef addch
[51] Fix | Delete
inline int UNDEF(addch)(chtype ch) { return addch(ch); }
[52] Fix | Delete
#undef addch
[53] Fix | Delete
#define addch UNDEF(addch)
[54] Fix | Delete
#endif
[55] Fix | Delete
[56] Fix | Delete
#ifdef addchstr
[57] Fix | Delete
inline int UNDEF(addchstr)(chtype *at) { return addchstr(at); }
[58] Fix | Delete
#undef addchstr
[59] Fix | Delete
#define addchstr UNDEF(addchstr)
[60] Fix | Delete
#endif
[61] Fix | Delete
[62] Fix | Delete
#ifdef addnstr
[63] Fix | Delete
inline int UNDEF(addnstr)(const char *str, int n)
[64] Fix | Delete
{ return addnstr(str, n); }
[65] Fix | Delete
#undef addnstr
[66] Fix | Delete
#define addnstr UNDEF(addnstr)
[67] Fix | Delete
#endif
[68] Fix | Delete
[69] Fix | Delete
#ifdef addstr
[70] Fix | Delete
inline int UNDEF(addstr)(const char * str) { return addstr(str); }
[71] Fix | Delete
#undef addstr
[72] Fix | Delete
#define addstr UNDEF(addstr)
[73] Fix | Delete
#endif
[74] Fix | Delete
[75] Fix | Delete
#ifdef attroff
[76] Fix | Delete
inline int UNDEF(attroff)(chtype at) { return attroff(at); }
[77] Fix | Delete
#undef attroff
[78] Fix | Delete
#define attroff UNDEF(attroff)
[79] Fix | Delete
#endif
[80] Fix | Delete
[81] Fix | Delete
#ifdef attron
[82] Fix | Delete
inline int UNDEF(attron)(chtype at) { return attron(at); }
[83] Fix | Delete
#undef attron
[84] Fix | Delete
#define attron UNDEF(attron)
[85] Fix | Delete
#endif
[86] Fix | Delete
[87] Fix | Delete
#ifdef attrset
[88] Fix | Delete
inline chtype UNDEF(attrset)(chtype at) { return attrset(at); }
[89] Fix | Delete
#undef attrset
[90] Fix | Delete
#define attrset UNDEF(attrset)
[91] Fix | Delete
#endif
[92] Fix | Delete
[93] Fix | Delete
#ifdef bkgd
[94] Fix | Delete
inline int UNDEF(bkgd)(chtype ch) { return bkgd(ch); }
[95] Fix | Delete
#undef bkgd
[96] Fix | Delete
#define bkgd UNDEF(bkgd)
[97] Fix | Delete
#endif
[98] Fix | Delete
[99] Fix | Delete
#ifdef bkgdset
[100] Fix | Delete
inline void UNDEF(bkgdset)(chtype ch) { bkgdset(ch); }
[101] Fix | Delete
#undef bkgdset
[102] Fix | Delete
#define bkgdset UNDEF(bkgdset)
[103] Fix | Delete
#endif
[104] Fix | Delete
[105] Fix | Delete
#ifdef border
[106] Fix | Delete
inline int UNDEF(border)(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br)
[107] Fix | Delete
{ return border(ls, rs, ts, bs, tl, tr, bl, br); }
[108] Fix | Delete
#undef border
[109] Fix | Delete
#define border UNDEF(border)
[110] Fix | Delete
#endif
[111] Fix | Delete
[112] Fix | Delete
#ifdef box
[113] Fix | Delete
inline int UNDEF(box)(WINDOW *win, int v, int h) { return box(win, v, h); }
[114] Fix | Delete
#undef box
[115] Fix | Delete
#define box UNDEF(box)
[116] Fix | Delete
#endif
[117] Fix | Delete
[118] Fix | Delete
#ifdef chgat
[119] Fix | Delete
inline int UNDEF(chgat)(int n, attr_t attr, NCURSES_PAIRS_T color, const void *opts) {
[120] Fix | Delete
return chgat(n, attr, color, opts); }
[121] Fix | Delete
#undef chgat
[122] Fix | Delete
#define chgat UNDEF(chgat)
[123] Fix | Delete
#endif
[124] Fix | Delete
[125] Fix | Delete
#ifdef clear
[126] Fix | Delete
inline int UNDEF(clear)() { return clear(); }
[127] Fix | Delete
#undef clear
[128] Fix | Delete
#define clear UNDEF(clear)
[129] Fix | Delete
#endif
[130] Fix | Delete
[131] Fix | Delete
#ifdef clearok
[132] Fix | Delete
inline int UNDEF(clearok)(WINDOW* win, bool bf) { return clearok(win, bf); }
[133] Fix | Delete
#undef clearok
[134] Fix | Delete
#define clearok UNDEF(clearok)
[135] Fix | Delete
#else
[136] Fix | Delete
extern "C" NCURSES_IMPEXP int NCURSES_API clearok(WINDOW*, bool);
[137] Fix | Delete
#endif
[138] Fix | Delete
[139] Fix | Delete
#ifdef clrtobot
[140] Fix | Delete
inline int UNDEF(clrtobot)() { return clrtobot(); }
[141] Fix | Delete
#undef clrtobot
[142] Fix | Delete
#define clrtobot UNDEF(clrtobot)
[143] Fix | Delete
#endif
[144] Fix | Delete
[145] Fix | Delete
#ifdef clrtoeol
[146] Fix | Delete
inline int UNDEF(clrtoeol)() { return clrtoeol(); }
[147] Fix | Delete
#undef clrtoeol
[148] Fix | Delete
#define clrtoeol UNDEF(clrtoeol)
[149] Fix | Delete
#endif
[150] Fix | Delete
[151] Fix | Delete
#ifdef color_set
[152] Fix | Delete
inline chtype UNDEF(color_set)(NCURSES_PAIRS_T p, void* opts) { return color_set(p, opts); }
[153] Fix | Delete
#undef color_set
[154] Fix | Delete
#define color_set UNDEF(color_set)
[155] Fix | Delete
#endif
[156] Fix | Delete
[157] Fix | Delete
#ifdef crmode
[158] Fix | Delete
inline int UNDEF(crmode)(void) { return crmode(); }
[159] Fix | Delete
#undef crmode
[160] Fix | Delete
#define crmode UNDEF(crmode)
[161] Fix | Delete
#endif
[162] Fix | Delete
[163] Fix | Delete
#ifdef delch
[164] Fix | Delete
inline int UNDEF(delch)() { return delch(); }
[165] Fix | Delete
#undef delch
[166] Fix | Delete
#define delch UNDEF(delch)
[167] Fix | Delete
#endif
[168] Fix | Delete
[169] Fix | Delete
#ifdef deleteln
[170] Fix | Delete
inline int UNDEF(deleteln)() { return deleteln(); }
[171] Fix | Delete
#undef deleteln
[172] Fix | Delete
#define deleteln UNDEF(deleteln)
[173] Fix | Delete
#endif
[174] Fix | Delete
[175] Fix | Delete
#ifdef echochar
[176] Fix | Delete
inline int UNDEF(echochar)(chtype ch) { return echochar(ch); }
[177] Fix | Delete
#undef echochar
[178] Fix | Delete
#define echochar UNDEF(echochar)
[179] Fix | Delete
#endif
[180] Fix | Delete
[181] Fix | Delete
#ifdef erase
[182] Fix | Delete
inline int UNDEF(erase)() { return erase(); }
[183] Fix | Delete
#undef erase
[184] Fix | Delete
#define erase UNDEF(erase)
[185] Fix | Delete
#endif
[186] Fix | Delete
[187] Fix | Delete
#ifdef fixterm
[188] Fix | Delete
inline int UNDEF(fixterm)(void) { return fixterm(); }
[189] Fix | Delete
#undef fixterm
[190] Fix | Delete
#define fixterm UNDEF(fixterm)
[191] Fix | Delete
#endif
[192] Fix | Delete
[193] Fix | Delete
#ifdef flushok
[194] Fix | Delete
inline int UNDEF(flushok)(WINDOW* _win, bool _bf) {
[195] Fix | Delete
return flushok(_win, _bf); }
[196] Fix | Delete
#undef flushok
[197] Fix | Delete
#define flushok UNDEF(flushok)
[198] Fix | Delete
#else
[199] Fix | Delete
#define _no_flushok
[200] Fix | Delete
#endif
[201] Fix | Delete
[202] Fix | Delete
#ifdef getattrs
[203] Fix | Delete
inline int UNDEF(getattrs)(WINDOW *win) { return getattrs(win); }
[204] Fix | Delete
#undef getattrs
[205] Fix | Delete
#define getattrs UNDEF(getattrs)
[206] Fix | Delete
#endif
[207] Fix | Delete
[208] Fix | Delete
#ifdef getbegyx
[209] Fix | Delete
inline void UNDEF(getbegyx)(WINDOW* win, int& y, int& x) { getbegyx(win, y, x); }
[210] Fix | Delete
#undef getbegyx
[211] Fix | Delete
#define getbegyx UNDEF(getbegyx)
[212] Fix | Delete
#endif
[213] Fix | Delete
[214] Fix | Delete
#ifdef getbkgd
[215] Fix | Delete
inline chtype UNDEF(getbkgd)(const WINDOW *win) { return getbkgd(win); }
[216] Fix | Delete
#undef getbkgd
[217] Fix | Delete
#define getbkgd UNDEF(getbkgd)
[218] Fix | Delete
#endif
[219] Fix | Delete
[220] Fix | Delete
#ifdef getch
[221] Fix | Delete
inline int UNDEF(getch)() { return getch(); }
[222] Fix | Delete
#undef getch
[223] Fix | Delete
#define getch UNDEF(getch)
[224] Fix | Delete
#endif
[225] Fix | Delete
[226] Fix | Delete
#ifdef getmaxyx
[227] Fix | Delete
inline void UNDEF(getmaxyx)(WINDOW* win, int& y, int& x) { getmaxyx(win, y, x); }
[228] Fix | Delete
#undef getmaxyx
[229] Fix | Delete
#define getmaxyx UNDEF(getmaxyx)
[230] Fix | Delete
#endif
[231] Fix | Delete
[232] Fix | Delete
#ifdef getnstr
[233] Fix | Delete
inline int UNDEF(getnstr)(char *_str, int n) { return getnstr(_str, n); }
[234] Fix | Delete
#undef getnstr
[235] Fix | Delete
#define getnstr UNDEF(getnstr)
[236] Fix | Delete
#endif
[237] Fix | Delete
[238] Fix | Delete
#ifdef getparyx
[239] Fix | Delete
inline void UNDEF(getparyx)(WINDOW* win, int& y, int& x) { getparyx(win, y, x); }
[240] Fix | Delete
#undef getparyx
[241] Fix | Delete
#define getparyx UNDEF(getparyx)
[242] Fix | Delete
#endif
[243] Fix | Delete
[244] Fix | Delete
#ifdef getstr
[245] Fix | Delete
inline int UNDEF(getstr)(char *_str) { return getstr(_str); }
[246] Fix | Delete
#undef getstr
[247] Fix | Delete
#define getstr UNDEF(getstr)
[248] Fix | Delete
#endif
[249] Fix | Delete
[250] Fix | Delete
#ifdef getyx
[251] Fix | Delete
inline void UNDEF(getyx)(const WINDOW* win, int& y, int& x) {
[252] Fix | Delete
getyx(win, y, x); }
[253] Fix | Delete
#undef getyx
[254] Fix | Delete
#define getyx UNDEF(getyx)
[255] Fix | Delete
#endif
[256] Fix | Delete
[257] Fix | Delete
#ifdef hline
[258] Fix | Delete
inline int UNDEF(hline)(chtype ch, int n) { return hline(ch, n); }
[259] Fix | Delete
#undef hline
[260] Fix | Delete
#define hline UNDEF(hline)
[261] Fix | Delete
#endif
[262] Fix | Delete
[263] Fix | Delete
#ifdef inch
[264] Fix | Delete
inline chtype UNDEF(inch)() { return inch(); }
[265] Fix | Delete
#undef inch
[266] Fix | Delete
#define inch UNDEF(inch)
[267] Fix | Delete
#endif
[268] Fix | Delete
[269] Fix | Delete
#ifdef inchstr
[270] Fix | Delete
inline int UNDEF(inchstr)(chtype *str) { return inchstr(str); }
[271] Fix | Delete
#undef inchstr
[272] Fix | Delete
#define inchstr UNDEF(inchstr)
[273] Fix | Delete
#endif
[274] Fix | Delete
[275] Fix | Delete
#ifdef innstr
[276] Fix | Delete
inline int UNDEF(innstr)(char *_str, int n) { return innstr(_str, n); }
[277] Fix | Delete
#undef innstr
[278] Fix | Delete
#define innstr UNDEF(innstr)
[279] Fix | Delete
#endif
[280] Fix | Delete
[281] Fix | Delete
#ifdef insch
[282] Fix | Delete
inline int UNDEF(insch)(chtype c) { return insch(c); }
[283] Fix | Delete
#undef insch
[284] Fix | Delete
#define insch UNDEF(insch)
[285] Fix | Delete
#endif
[286] Fix | Delete
[287] Fix | Delete
#ifdef insdelln
[288] Fix | Delete
inline int UNDEF(insdelln)(int n) { return insdelln(n); }
[289] Fix | Delete
#undef insdelln
[290] Fix | Delete
#define insdelln UNDEF(insdelln)
[291] Fix | Delete
#endif
[292] Fix | Delete
[293] Fix | Delete
#ifdef insertln
[294] Fix | Delete
inline int UNDEF(insertln)() { return insertln(); }
[295] Fix | Delete
#undef insertln
[296] Fix | Delete
#define insertln UNDEF(insertln)
[297] Fix | Delete
#endif
[298] Fix | Delete
[299] Fix | Delete
#ifdef insnstr
[300] Fix | Delete
inline int UNDEF(insnstr)(const char *_str, int n) {
[301] Fix | Delete
return insnstr(_str, n); }
[302] Fix | Delete
#undef insnstr
[303] Fix | Delete
#define insnstr UNDEF(insnstr)
[304] Fix | Delete
#endif
[305] Fix | Delete
[306] Fix | Delete
#ifdef insstr
[307] Fix | Delete
inline int UNDEF(insstr)(const char *_str) {
[308] Fix | Delete
return insstr(_str); }
[309] Fix | Delete
#undef insstr
[310] Fix | Delete
#define insstr UNDEF(insstr)
[311] Fix | Delete
#endif
[312] Fix | Delete
[313] Fix | Delete
#ifdef instr
[314] Fix | Delete
inline int UNDEF(instr)(char *_str) { return instr(_str); }
[315] Fix | Delete
#undef instr
[316] Fix | Delete
#define instr UNDEF(instr)
[317] Fix | Delete
#endif
[318] Fix | Delete
[319] Fix | Delete
#ifdef intrflush
[320] Fix | Delete
inline void UNDEF(intrflush)(WINDOW *win, bool bf) { intrflush(); }
[321] Fix | Delete
#undef intrflush
[322] Fix | Delete
#define intrflush UNDEF(intrflush)
[323] Fix | Delete
#endif
[324] Fix | Delete
[325] Fix | Delete
#ifdef is_linetouched
[326] Fix | Delete
inline int UNDEF(is_linetouched)(WINDOW *w, int l) { return is_linetouched(w,l); }
[327] Fix | Delete
#undef is_linetouched
[328] Fix | Delete
#define is_linetouched UNDEF(is_linetouched)
[329] Fix | Delete
#endif
[330] Fix | Delete
[331] Fix | Delete
#ifdef leaveok
[332] Fix | Delete
inline int UNDEF(leaveok)(WINDOW* win, bool bf) { return leaveok(win, bf); }
[333] Fix | Delete
#undef leaveok
[334] Fix | Delete
#define leaveok UNDEF(leaveok)
[335] Fix | Delete
#else
[336] Fix | Delete
extern "C" NCURSES_IMPEXP int NCURSES_API leaveok(WINDOW* win, bool bf);
[337] Fix | Delete
#endif
[338] Fix | Delete
[339] Fix | Delete
#ifdef move
[340] Fix | Delete
inline int UNDEF(move)(int x, int y) { return move(x, y); }
[341] Fix | Delete
#undef move
[342] Fix | Delete
#define move UNDEF(move)
[343] Fix | Delete
#endif
[344] Fix | Delete
[345] Fix | Delete
#ifdef mvaddch
[346] Fix | Delete
inline int UNDEF(mvaddch)(int y, int x, chtype ch)
[347] Fix | Delete
{ return mvaddch(y, x, ch); }
[348] Fix | Delete
#undef mvaddch
[349] Fix | Delete
#define mvaddch UNDEF(mvaddch)
[350] Fix | Delete
#endif
[351] Fix | Delete
[352] Fix | Delete
#ifdef mvaddnstr
[353] Fix | Delete
inline int UNDEF(mvaddnstr)(int y, int x, const char *str, int n)
[354] Fix | Delete
{ return mvaddnstr(y, x, str, n); }
[355] Fix | Delete
#undef mvaddnstr
[356] Fix | Delete
#define mvaddnstr UNDEF(mvaddnstr)
[357] Fix | Delete
#endif
[358] Fix | Delete
[359] Fix | Delete
#ifdef mvaddstr
[360] Fix | Delete
inline int UNDEF(mvaddstr)(int y, int x, const char * str)
[361] Fix | Delete
{ return mvaddstr(y, x, str); }
[362] Fix | Delete
#undef mvaddstr
[363] Fix | Delete
#define mvaddstr UNDEF(mvaddstr)
[364] Fix | Delete
#endif
[365] Fix | Delete
[366] Fix | Delete
#ifdef mvchgat
[367] Fix | Delete
inline int UNDEF(mvchgat)(int y, int x, int n,
[368] Fix | Delete
attr_t attr, NCURSES_PAIRS_T color, const void *opts) {
[369] Fix | Delete
return mvchgat(y, x, n, attr, color, opts); }
[370] Fix | Delete
#undef mvchgat
[371] Fix | Delete
#define mvchgat UNDEF(mvchgat)
[372] Fix | Delete
#endif
[373] Fix | Delete
[374] Fix | Delete
#ifdef mvdelch
[375] Fix | Delete
inline int UNDEF(mvdelch)(int y, int x) { return mvdelch(y, x);}
[376] Fix | Delete
#undef mvdelch
[377] Fix | Delete
#define mvdelch UNDEF(mvdelch)
[378] Fix | Delete
#endif
[379] Fix | Delete
[380] Fix | Delete
#ifdef mvgetch
[381] Fix | Delete
inline int UNDEF(mvgetch)(int y, int x) { return mvgetch(y, x);}
[382] Fix | Delete
#undef mvgetch
[383] Fix | Delete
#define mvgetch UNDEF(mvgetch)
[384] Fix | Delete
#endif
[385] Fix | Delete
[386] Fix | Delete
#ifdef mvgetnstr
[387] Fix | Delete
inline int UNDEF(mvgetnstr)(int y, int x, char *str, int n) {
[388] Fix | Delete
return mvgetnstr(y, x, str, n);}
[389] Fix | Delete
#undef mvgetnstr
[390] Fix | Delete
#define mvgetnstr UNDEF(mvgetnstr)
[391] Fix | Delete
#endif
[392] Fix | Delete
[393] Fix | Delete
#ifdef mvgetstr
[394] Fix | Delete
inline int UNDEF(mvgetstr)(int y, int x, char *str) {return mvgetstr(y, x, str);}
[395] Fix | Delete
#undef mvgetstr
[396] Fix | Delete
#define mvgetstr UNDEF(mvgetstr)
[397] Fix | Delete
#endif
[398] Fix | Delete
[399] Fix | Delete
#ifdef mvinch
[400] Fix | Delete
inline chtype UNDEF(mvinch)(int y, int x) { return mvinch(y, x);}
[401] Fix | Delete
#undef mvinch
[402] Fix | Delete
#define mvinch UNDEF(mvinch)
[403] Fix | Delete
#endif
[404] Fix | Delete
[405] Fix | Delete
#ifdef mvinnstr
[406] Fix | Delete
inline int UNDEF(mvinnstr)(int y, int x, char *_str, int n) {
[407] Fix | Delete
return mvinnstr(y, x, _str, n); }
[408] Fix | Delete
#undef mvinnstr
[409] Fix | Delete
#define mvinnstr UNDEF(mvinnstr)
[410] Fix | Delete
#endif
[411] Fix | Delete
[412] Fix | Delete
#ifdef mvinsch
[413] Fix | Delete
inline int UNDEF(mvinsch)(int y, int x, chtype c)
[414] Fix | Delete
{ return mvinsch(y, x, c); }
[415] Fix | Delete
#undef mvinsch
[416] Fix | Delete
#define mvinsch UNDEF(mvinsch)
[417] Fix | Delete
#endif
[418] Fix | Delete
[419] Fix | Delete
#ifdef mvinsnstr
[420] Fix | Delete
inline int UNDEF(mvinsnstr)(int y, int x, const char *_str, int n) {
[421] Fix | Delete
return mvinsnstr(y, x, _str, n); }
[422] Fix | Delete
#undef mvinsnstr
[423] Fix | Delete
#define mvinsnstr UNDEF(mvinsnstr)
[424] Fix | Delete
#endif
[425] Fix | Delete
[426] Fix | Delete
#ifdef mvinsstr
[427] Fix | Delete
inline int UNDEF(mvinsstr)(int y, int x, const char *_str) {
[428] Fix | Delete
return mvinsstr(y, x, _str); }
[429] Fix | Delete
#undef mvinsstr
[430] Fix | Delete
#define mvinsstr UNDEF(mvinsstr)
[431] Fix | Delete
#endif
[432] Fix | Delete
[433] Fix | Delete
#ifdef mvwaddch
[434] Fix | Delete
inline int UNDEF(mvwaddch)(WINDOW *win, int y, int x, const chtype ch)
[435] Fix | Delete
{ return mvwaddch(win, y, x, ch); }
[436] Fix | Delete
#undef mvwaddch
[437] Fix | Delete
#define mvwaddch UNDEF(mvwaddch)
[438] Fix | Delete
#endif
[439] Fix | Delete
[440] Fix | Delete
#ifdef mvwaddchnstr
[441] Fix | Delete
inline int UNDEF(mvwaddchnstr)(WINDOW *win, int y, int x, const chtype *str, int n)
[442] Fix | Delete
{ return mvwaddchnstr(win, y, x, str, n); }
[443] Fix | Delete
#undef mvwaddchnstr
[444] Fix | Delete
#define mvwaddchnstr UNDEF(mvwaddchnstr)
[445] Fix | Delete
#endif
[446] Fix | Delete
[447] Fix | Delete
#ifdef mvwaddchstr
[448] Fix | Delete
inline int UNDEF(mvwaddchstr)(WINDOW *win, int y, int x, const chtype *str)
[449] Fix | Delete
{ return mvwaddchstr(win, y, x, str); }
[450] Fix | Delete
#undef mvwaddchstr
[451] Fix | Delete
#define mvwaddchstr UNDEF(mvwaddchstr)
[452] Fix | Delete
#endif
[453] Fix | Delete
[454] Fix | Delete
#ifdef mvwaddnstr
[455] Fix | Delete
inline int UNDEF(mvwaddnstr)(WINDOW *win, int y, int x, const char *str, int n)
[456] Fix | Delete
{ return mvwaddnstr(win, y, x, str, n); }
[457] Fix | Delete
#undef mvwaddnstr
[458] Fix | Delete
#define mvwaddnstr UNDEF(mvwaddnstr)
[459] Fix | Delete
#endif
[460] Fix | Delete
[461] Fix | Delete
#ifdef mvwaddstr
[462] Fix | Delete
inline int UNDEF(mvwaddstr)(WINDOW *win, int y, int x, const char * str)
[463] Fix | Delete
{ return mvwaddstr(win, y, x, str); }
[464] Fix | Delete
#undef mvwaddstr
[465] Fix | Delete
#define mvwaddstr UNDEF(mvwaddstr)
[466] Fix | Delete
#endif
[467] Fix | Delete
[468] Fix | Delete
#ifdef mvwchgat
[469] Fix | Delete
inline int UNDEF(mvwchgat)(WINDOW *win, int y, int x, int n,
[470] Fix | Delete
attr_t attr, NCURSES_PAIRS_T color, const void *opts) {
[471] Fix | Delete
return mvwchgat(win, y, x, n, attr, color, opts); }
[472] Fix | Delete
#undef mvwchgat
[473] Fix | Delete
#define mvwchgat UNDEF(mvwchgat)
[474] Fix | Delete
#endif
[475] Fix | Delete
[476] Fix | Delete
#ifdef mvwdelch
[477] Fix | Delete
inline int UNDEF(mvwdelch)(WINDOW *win, int y, int x)
[478] Fix | Delete
{ return mvwdelch(win, y, x); }
[479] Fix | Delete
#undef mvwdelch
[480] Fix | Delete
#define mvwdelch UNDEF(mvwdelch)
[481] Fix | Delete
#endif
[482] Fix | Delete
[483] Fix | Delete
#ifdef mvwgetch
[484] Fix | Delete
inline int UNDEF(mvwgetch)(WINDOW *win, int y, int x) { return mvwgetch(win, y, x);}
[485] Fix | Delete
#undef mvwgetch
[486] Fix | Delete
#define mvwgetch UNDEF(mvwgetch)
[487] Fix | Delete
#endif
[488] Fix | Delete
[489] Fix | Delete
#ifdef mvwgetnstr
[490] Fix | Delete
inline int UNDEF(mvwgetnstr)(WINDOW *win, int y, int x, char *str, int n)
[491] Fix | Delete
{return mvwgetnstr(win, y, x, str, n);}
[492] Fix | Delete
#undef mvwgetnstr
[493] Fix | Delete
#define mvwgetnstr UNDEF(mvwgetnstr)
[494] Fix | Delete
#endif
[495] Fix | Delete
[496] Fix | Delete
#ifdef mvwgetstr
[497] Fix | Delete
inline int UNDEF(mvwgetstr)(WINDOW *win, int y, int x, char *str)
[498] Fix | Delete
{return mvwgetstr(win, y, x, str);}
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function