NCURSES_EXPORT(int) addch (const chtype z)
{
T((T_CALLED("addch(%s)"), _tracechtype2(0,z)));
returnCode(waddch(stdscr,(z)));
}
Visual C, using current master, transform these functions into:
(with #undef NCURSES_NOMACROS)
int __cdecl waddch(stdscr,(const chtype z))
{
;
return waddch(stdscr,(z));
}
Which is indeed an infinite recursive function.
With my change, this becomes:
(with #define NCURSES_NOMACROS)
int __cdecl addch (const chtype z)
{
;
return waddch(stdscr,(z));
}
I don't think this is an infinite recursive function.
What do you think?
Kind regards
Maarten