golden hour
/opt/alt/python37/include/python3.7m
⬆️ Go Up
Upload
File/Folder
Size
Actions
Python-ast.h
21.29 KB
Del
OK
Python.h
3.47 KB
Del
OK
abstract.h
39.84 KB
Del
OK
accu.h
1016 B
Del
OK
asdl.h
1.18 KB
Del
OK
ast.h
641 B
Del
OK
bitset.h
810 B
Del
OK
bltinmodule.h
264 B
Del
OK
boolobject.h
886 B
Del
OK
bytearrayobject.h
2.06 KB
Del
OK
bytes_methods.h
3.22 KB
Del
OK
bytesobject.h
8.29 KB
Del
OK
cellobject.h
713 B
Del
OK
ceval.h
8.51 KB
Del
OK
classobject.h
1.64 KB
Del
OK
code.h
5.92 KB
Del
OK
codecs.h
6.63 KB
Del
OK
compile.h
2.88 KB
Del
OK
complexobject.h
1.76 KB
Del
OK
context.h
1.97 KB
Del
OK
datetime.h
9.62 KB
Del
OK
descrobject.h
3.06 KB
Del
OK
dictobject.h
7.15 KB
Del
OK
dtoa.h
458 B
Del
OK
dynamic_annotations.h
21.94 KB
Del
OK
enumobject.h
253 B
Del
OK
errcode.h
1.66 KB
Del
OK
eval.h
1.18 KB
Del
OK
fileobject.h
1.77 KB
Del
OK
fileutils.h
4.43 KB
Del
OK
floatobject.h
4.68 KB
Del
OK
frameobject.h
3.24 KB
Del
OK
funcobject.h
4.08 KB
Del
OK
genobject.h
3.56 KB
Del
OK
graminit.h
1.95 KB
Del
OK
grammar.h
2.26 KB
Del
OK
import.h
4.86 KB
Del
OK
internal
-
Del
OK
intrcheck.h
861 B
Del
OK
iterobject.h
567 B
Del
OK
listobject.h
2.86 KB
Del
OK
longintrepr.h
3.71 KB
Del
OK
longobject.h
8.39 KB
Del
OK
marshal.h
803 B
Del
OK
memoryobject.h
2.7 KB
Del
OK
metagrammar.h
253 B
Del
OK
methodobject.h
4.41 KB
Del
OK
modsupport.h
8.36 KB
Del
OK
moduleobject.h
2.25 KB
Del
OK
namespaceobject.h
349 B
Del
OK
node.h
1.09 KB
Del
OK
object.h
40.86 KB
Del
OK
objimpl.h
14.13 KB
Del
OK
odictobject.h
1.25 KB
Del
OK
opcode.h
4.99 KB
Del
OK
osdefs.h
691 B
Del
OK
osmodule.h
291 B
Del
OK
parsetok.h
2.84 KB
Del
OK
patchlevel.h
1.27 KB
Del
OK
pgen.h
253 B
Del
OK
pgenheaders.h
1.19 KB
Del
OK
py_curses.h
3.97 KB
Del
OK
pyarena.h
2.68 KB
Del
OK
pyatomic.h
15.74 KB
Del
OK
pycapsule.h
1.69 KB
Del
OK
pyconfig-64.h
44.27 KB
Del
OK
pyconfig.h
162 B
Del
OK
pyctype.h
1.29 KB
Del
OK
pydebug.h
1.19 KB
Del
OK
pydtrace.h
2.23 KB
Del
OK
pyerrors.h
16.96 KB
Del
OK
pyexpat.h
2.39 KB
Del
OK
pyfpe.h
341 B
Del
OK
pyhash.h
4.04 KB
Del
OK
pylifecycle.h
7.6 KB
Del
OK
pymacconfig.h
2.92 KB
Del
OK
pymacro.h
3.45 KB
Del
OK
pymath.h
8.12 KB
Del
OK
pymem.h
8.78 KB
Del
OK
pyport.h
27.57 KB
Del
OK
pystate.h
15.94 KB
Del
OK
pystrcmp.h
436 B
Del
OK
pystrhex.h
495 B
Del
OK
pystrtod.h
1.45 KB
Del
OK
pythonrun.h
6.06 KB
Del
OK
pythread.h
5.21 KB
Del
OK
pytime.h
8.72 KB
Del
OK
rangeobject.h
629 B
Del
OK
setobject.h
3.28 KB
Del
OK
sliceobject.h
2.42 KB
Del
OK
structmember.h
1.98 KB
Del
OK
structseq.h
1.34 KB
Del
OK
symtable.h
4.81 KB
Del
OK
sysmodule.h
1.48 KB
Del
OK
token.h
2.42 KB
Del
OK
traceback.h
3.56 KB
Del
OK
tupleobject.h
2.41 KB
Del
OK
typeslots.h
2.2 KB
Del
OK
ucnhash.h
1.03 KB
Del
OK
unicodeobject.h
80.35 KB
Del
OK
warnings.h
1.73 KB
Del
OK
weakrefobject.h
2.8 KB
Del
OK
Edit: py_curses.h
#ifndef Py_CURSES_H #define Py_CURSES_H #ifdef __APPLE__ /* ** On Mac OS X 10.2 [n]curses.h and stdlib.h use different guards ** against multiple definition of wchar_t. */ #ifdef _BSD_WCHAR_T_DEFINED_ #define _WCHAR_T #endif #endif /* __APPLE__ */ /* On FreeBSD, [n]curses.h and stdlib.h/wchar.h use different guards against multiple definition of wchar_t and wint_t. */ #if defined(__FreeBSD__) && defined(_XOPEN_SOURCE_EXTENDED) # ifndef __wchar_t # define __wchar_t # endif # ifndef __wint_t # define __wint_t # endif #endif #if !defined(HAVE_CURSES_IS_PAD) && defined(WINDOW_HAS_FLAGS) /* The following definition is necessary for ncurses 5.7; without it, some of [n]curses.h set NCURSES_OPAQUE to 1, and then Python can't get at the WINDOW flags field. */ #define NCURSES_OPAQUE 0 #endif #ifdef HAVE_NCURSES_H #include <ncurses.h> #else #include <curses.h> #endif #ifdef HAVE_NCURSES_H /* configure was checking <curses.h>, but we will use <ncurses.h>, which has some or all these features. */ #if !defined(WINDOW_HAS_FLAGS) && !(NCURSES_OPAQUE+0) #define WINDOW_HAS_FLAGS 1 #endif #if !defined(HAVE_CURSES_IS_PAD) && NCURSES_VERSION_PATCH+0 >= 20090906 #define HAVE_CURSES_IS_PAD 1 #endif #ifndef MVWDELCH_IS_EXPRESSION #define MVWDELCH_IS_EXPRESSION 1 #endif #endif #ifdef __cplusplus extern "C" { #endif #define PyCurses_API_pointers 4 /* Type declarations */ typedef struct { PyObject_HEAD WINDOW *win; char *encoding; } PyCursesWindowObject; #define PyCursesWindow_Check(v) (Py_TYPE(v) == &PyCursesWindow_Type) #define PyCurses_CAPSULE_NAME "_curses._C_API" #ifdef CURSES_MODULE /* This section is used when compiling _cursesmodule.c */ #else /* This section is used in modules that use the _cursesmodule API */ static void **PyCurses_API; #define PyCursesWindow_Type (*(PyTypeObject *) PyCurses_API[0]) #define PyCursesSetupTermCalled {if (! ((int (*)(void))PyCurses_API[1]) () ) return NULL;} #define PyCursesInitialised {if (! ((int (*)(void))PyCurses_API[2]) () ) return NULL;} #define PyCursesInitialisedColor {if (! ((int (*)(void))PyCurses_API[3]) () ) return NULL;} #define import_curses() \ PyCurses_API = (void **)PyCapsule_Import(PyCurses_CAPSULE_NAME, 1); #endif /* general error messages */ static const char catchall_ERR[] = "curses function returned ERR"; static const char catchall_NULL[] = "curses function returned NULL"; /* Function Prototype Macros - They are ugly but very, very useful. ;-) X - function name TYPE - parameter Type ERGSTR - format string for construction of the return value PARSESTR - format string for argument parsing */ #define NoArgNoReturnFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ return PyCursesCheckERR(X(), # X); } #define NoArgOrFlagNoReturnFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self, PyObject *args) \ { \ int flag = 0; \ PyCursesInitialised \ switch(PyTuple_Size(args)) { \ case 0: \ return PyCursesCheckERR(X(), # X); \ case 1: \ if (!PyArg_ParseTuple(args, "i;True(1) or False(0)", &flag)) return NULL; \ if (flag) return PyCursesCheckERR(X(), # X); \ else return PyCursesCheckERR(no ## X (), # X); \ default: \ PyErr_SetString(PyExc_TypeError, # X " requires 0 or 1 arguments"); \ return NULL; } } #define NoArgReturnIntFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ return PyLong_FromLong((long) X()); } #define NoArgReturnStringFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ return PyBytes_FromString(X()); } #define NoArgTrueFalseFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ if (X () == FALSE) { \ Py_RETURN_FALSE; \ } \ Py_RETURN_TRUE; } #define NoArgNoReturnVoidFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ X(); \ Py_RETURN_NONE; } #ifdef __cplusplus } #endif #endif /* !defined(Py_CURSES_H) */
Save