diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 1995-03-17 12:18:38 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 1995-03-17 12:18:38 (GMT) |
commit | 14ece169ab027c2139918d817fc210a1ee51a4d0 (patch) | |
tree | f699af4b3f7dbbd59609288a6eda8718d56b614b /Modules/_cursesmodule.c | |
parent | 385e7c69198510a1aa3a50c82f0d458eb34cc5e6 (diff) | |
download | cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.zip cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.tar.gz cpython-14ece169ab027c2139918d817fc210a1ee51a4d0.tar.bz2 |
Added some (method) casts.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index b988124..e57e802 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1038,48 +1038,48 @@ PyCursesWindow_NoTimeout(self,arg) } static PyMethodDef PyCursesWindow_Methods[] = { - {"refresh", PyCursesWindow_Refresh}, - {"nooutrefresh", PyCursesWindow_NoOutRefresh}, - {"mvwin", PyCursesWindow_MoveWin}, - {"move", PyCursesWindow_Move}, - {"subwin", PyCursesWindow_SubWin}, - {"addch", PyCursesWindow_AddCh}, - {"insch", PyCursesWindow_InsCh}, - {"delch", PyCursesWindow_DelCh}, - {"echochar", PyCursesWindow_EchoChar}, - {"addstr", PyCursesWindow_AddStr}, - {"attron", PyCursesWindow_AttrOn}, - {"attroff", PyCursesWindow_AttrOff}, - {"attrset", PyCursesWindow_AttrSet}, - {"standend", PyCursesWindow_StandEnd}, - {"standout", PyCursesWindow_StandOut}, - {"border", PyCursesWindow_Border, METH_VARARGS}, - {"box", PyCursesWindow_Box}, - {"hline", PyCursesWindow_Hline}, - {"vline", PyCursesWindow_Vline}, - {"erase", PyCursesWindow_Erase}, - {"deleteln", PyCursesWindow_DeleteLine}, - {"insertln", PyCursesWindow_InsertLine}, - {"getyx", PyCursesWindow_GetYX}, - {"getbegyx", PyCursesWindow_GetBegYX}, - {"getmaxyx", PyCursesWindow_GetMaxYX}, - {"clear", PyCursesWindow_Clear}, - {"clrtobot", PyCursesWindow_ClearToBottom}, - {"clrtoeol", PyCursesWindow_ClearToEOL}, - {"scroll", PyCursesWindow_Scroll}, - {"touchwin", PyCursesWindow_TouchWin}, - {"touchline", PyCursesWindow_TouchLine}, - {"getch", PyCursesWindow_GetCh}, - {"getstr", PyCursesWindow_GetStr}, - {"inch", PyCursesWindow_InCh}, - {"clearok", PyCursesWindow_ClearOk}, - {"idlok", PyCursesWindow_IdlOk}, - {"leaveok", PyCursesWindow_LeaveOk}, - {"scrollok", PyCursesWindow_ScrollOk}, - {"setscrreg", PyCursesWindow_SetScrollRegion}, - {"keypad", PyCursesWindow_KeyPad}, - {"nodelay", PyCursesWindow_NoDelay}, - {"notimeout", PyCursesWindow_NoTimeout}, + {"refresh", (PyCFunction)PyCursesWindow_Refresh}, + {"nooutrefresh", (PyCFunction)PyCursesWindow_NoOutRefresh}, + {"mvwin", (PyCFunction)PyCursesWindow_MoveWin}, + {"move", (PyCFunction)PyCursesWindow_Move}, + {"subwin", (PyCFunction)PyCursesWindow_SubWin}, + {"addch", (PyCFunction)PyCursesWindow_AddCh}, + {"insch", (PyCFunction)PyCursesWindow_InsCh}, + {"delch", (PyCFunction)PyCursesWindow_DelCh}, + {"echochar", (PyCFunction)PyCursesWindow_EchoChar}, + {"addstr", (PyCFunction)PyCursesWindow_AddStr}, + {"attron", (PyCFunction)PyCursesWindow_AttrOn}, + {"attroff", (PyCFunction)PyCursesWindow_AttrOff}, + {"attrset", (PyCFunction)PyCursesWindow_AttrSet}, + {"standend", (PyCFunction)PyCursesWindow_StandEnd}, + {"standout", (PyCFunction)PyCursesWindow_StandOut}, + {"border", (PyCFunction)PyCursesWindow_Border, METH_VARARGS}, + {"box", (PyCFunction)PyCursesWindow_Box}, + {"hline", (PyCFunction)PyCursesWindow_Hline}, + {"vline", (PyCFunction)PyCursesWindow_Vline}, + {"erase", (PyCFunction)PyCursesWindow_Erase}, + {"deleteln", (PyCFunction)PyCursesWindow_DeleteLine}, + {"insertln", (PyCFunction)PyCursesWindow_InsertLine}, + {"getyx", (PyCFunction)PyCursesWindow_GetYX}, + {"getbegyx", (PyCFunction)PyCursesWindow_GetBegYX}, + {"getmaxyx", (PyCFunction)PyCursesWindow_GetMaxYX}, + {"clear", (PyCFunction)PyCursesWindow_Clear}, + {"clrtobot", (PyCFunction)PyCursesWindow_ClearToBottom}, + {"clrtoeol", (PyCFunction)PyCursesWindow_ClearToEOL}, + {"scroll", (PyCFunction)PyCursesWindow_Scroll}, + {"touchwin", (PyCFunction)PyCursesWindow_TouchWin}, + {"touchline", (PyCFunction)PyCursesWindow_TouchLine}, + {"getch", (PyCFunction)PyCursesWindow_GetCh}, + {"getstr", (PyCFunction)PyCursesWindow_GetStr}, + {"inch", (PyCFunction)PyCursesWindow_InCh}, + {"clearok", (PyCFunction)PyCursesWindow_ClearOk}, + {"idlok", (PyCFunction)PyCursesWindow_IdlOk}, + {"leaveok", (PyCFunction)PyCursesWindow_LeaveOk}, + {"scrollok", (PyCFunction)PyCursesWindow_ScrollOk}, + {"setscrreg", (PyCFunction)PyCursesWindow_SetScrollRegion}, + {"keypad", (PyCFunction)PyCursesWindow_KeyPad}, + {"nodelay", (PyCFunction)PyCursesWindow_NoDelay}, + {"notimeout", (PyCFunction)PyCursesWindow_NoTimeout}, {NULL, NULL} /* sentinel */ }; |