Lines Matching refs:PyLong_FromLong
1515 return PyLong_FromLong(rtn); in _curses_window_get_wch_impl()
2630 return PyLong_FromLong((long) X()); }
2775 return PyLong_FromLong(COLOR_PAIR(pair_number)); in _curses_color_pair_impl()
2804 return PyLong_FromLong((long) erg); in _curses_curs_set_impl()
3273 PyObject *o = PyLong_FromLong((long) (ch)); \ in _curses_initscr_impl()
3427 return PyLong_FromLong(ESCDELAY); in _curses_get_escdelay_impl()
3467 return PyLong_FromLong(TABSIZE); in _curses_get_tabsize_impl()
3902 return PyLong_FromLong(PAIR_NUMBER(attr)); in _curses_pair_number_impl()
3965 o = PyLong_FromLong(LINES); in update_lines_cols()
3982 o = PyLong_FromLong(COLS); in update_lines_cols()
4208 c = PyLong_FromLong((long) COLORS); in _curses_start_color_impl()
4216 cp = PyLong_FromLong((long) COLOR_PAIRS); in _curses_start_color_impl()
4272 return PyLong_FromLong( (long) tigetflag( (char *)capname ) ); in _curses_termattrs_impl()
4294 return PyLong_FromLong( (long) tigetnum( (char *)capname ) ); in _curses_tigetnum_impl()
4596 PyStructSequence_SET_ITEM(ncurses_version, pos++, PyLong_FromLong(flag)); \ in make_ncurses_version()