Download data/miniconda3/include/python3.13/py_curses.h from assassinlike/everything132: direct link, hf CLI and curl.
- Browser
- Download file 3.51 kB
-
https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/miniconda3/include/python3.13/py_curses.h
- Command line
-
hf download hf://datasets/assassinlike/everything132/data/miniconda3/include/python3.13/py_curses.h
-
curl -L -o py_curses.h https://huggingface.co/datasets/assassinlike/everything132/resolve/main/data/miniconda3/include/python3.13/py_curses.h
3.51 kB
| /* | |
| ** On Mac OS X 10.2 [n]curses.h and stdlib.h use different guards | |
| ** against multiple definition of wchar_t. | |
| */ | |
| /* On FreeBSD, [n]curses.h and stdlib.h/wchar.h use different guards | |
| against multiple definition of wchar_t and wint_t. */ | |
| /* gh-109617, gh-115383: we can rely on the default value for NCURSES_OPAQUE on | |
| most platforms, but not on macOS. This is because, starting with Xcode 15, | |
| Apple-provided ncurses.h comes from ncurses 6 (which defaults to opaque | |
| structs) but can still be linked to older versions of ncurses dynamic | |
| libraries which don't provide functions such as is_pad() to deal with opaque | |
| structs. Setting NCURSES_OPAQUE to 0 is harmless in all ncurses releases to | |
| this date (provided that a thread-safe implementation is not required), but | |
| this might change in the future. This fix might become irrelevant once | |
| support for macOS 13 or earlier is dropped. */ | |
| /* configure was checking <curses.h>, but we will | |
| use <ncurses.h>, which has some or all these features. */ | |
| /* the WINDOW flags field was always accessible in ncurses prior to 20070303; | |
| after that, it depends on the value of NCURSES_OPAQUE. */ | |
| extern "C" { | |
| /* Type declarations */ | |
| typedef struct PyCursesWindowObject { | |
| PyObject_HEAD | |
| WINDOW *win; | |
| char *encoding; | |
| struct PyCursesWindowObject *orig; | |
| } PyCursesWindowObject; | |
| /* This section is used when compiling _cursesmodule.c */ | |
| /* This section is used in modules that use the _cursesmodule API */ | |
| static void **PyCurses_API; | |
| /* general error messages */ | |
| static const char catchall_ERR[] = "curses function returned ERR"; | |
| static const char catchall_NULL[] = "curses function returned NULL"; | |
| } | |