X7ROOT File Manager
Current Path:
/usr/include/python3.6m
usr
/
include
/
python3.6m
/
??
..
??
Python-ast.h
(21.75 KB)
??
Python.h
(3.15 KB)
??
_hashopenssl.h
(1.33 KB)
??
abstract.h
(46.34 KB)
??
accu.h
(1016 B)
??
asdl.h
(1.18 KB)
??
ast.h
(477 B)
??
bitset.h
(792 B)
??
bltinmodule.h
(264 B)
??
boolobject.h
(886 B)
??
bytearrayobject.h
(2.06 KB)
??
bytes_methods.h
(3.12 KB)
??
bytesobject.h
(8.17 KB)
??
cellobject.h
(701 B)
??
ceval.h
(8.32 KB)
??
classobject.h
(1.63 KB)
??
code.h
(5.81 KB)
??
codecs.h
(6.63 KB)
??
compile.h
(2.11 KB)
??
complexobject.h
(1.76 KB)
??
datetime.h
(9.19 KB)
??
descrobject.h
(2.89 KB)
??
dictobject.h
(7.01 KB)
??
dtoa.h
(458 B)
??
dynamic_annotations.h
(21.94 KB)
??
enumobject.h
(253 B)
??
errcode.h
(1.46 KB)
??
eval.h
(597 B)
??
fileobject.h
(1.61 KB)
??
fileutils.h
(3.44 KB)
??
floatobject.h
(4.68 KB)
??
frameobject.h
(3.45 KB)
??
funcobject.h
(3.98 KB)
??
genobject.h
(3.5 KB)
??
graminit.h
(1.92 KB)
??
grammar.h
(2.03 KB)
??
import.h
(4.13 KB)
??
intrcheck.h
(513 B)
??
iterobject.h
(567 B)
??
listobject.h
(2.83 KB)
??
longintrepr.h
(3.67 KB)
??
longobject.h
(9.6 KB)
??
marshal.h
(803 B)
??
memoryobject.h
(2.7 KB)
??
metagrammar.h
(253 B)
??
methodobject.h
(3.76 KB)
??
modsupport.h
(7.15 KB)
??
moduleobject.h
(2.23 KB)
??
namespaceobject.h
(349 B)
??
node.h
(1007 B)
??
object.h
(41.21 KB)
??
objimpl.h
(13.91 KB)
??
odictobject.h
(1.26 KB)
??
opcode.h
(4.95 KB)
??
osdefs.h
(691 B)
??
osmodule.h
(291 B)
??
parsetok.h
(2.82 KB)
??
patchlevel.h
(1.1 KB)
??
pgen.h
(253 B)
??
pgenheaders.h
(1.15 KB)
??
py_curses.h
(4.21 KB)
??
pyarena.h
(2.68 KB)
??
pyatomic.h
(7.94 KB)
??
pycapsule.h
(1.69 KB)
??
pyconfig-64.h
(43.58 KB)
??
pyconfig.h
(162 B)
??
pyctype.h
(1.29 KB)
??
pydebug.h
(1.23 KB)
??
pydtrace.h
(1.92 KB)
??
pyerrors.h
(16.82 KB)
??
pyexpat.h
(2.39 KB)
??
pyfpe.h
(8.27 KB)
??
pygetopt.h
(410 B)
??
pyhash.h
(4.04 KB)
??
pylifecycle.h
(3.98 KB)
??
pymacconfig.h
(2.92 KB)
??
pymacro.h
(3.42 KB)
??
pymath.h
(8.12 KB)
??
pymem.h
(8.36 KB)
??
pyport.h
(26.93 KB)
??
pystate.h
(10.88 KB)
??
pystrcmp.h
(436 B)
??
pystrhex.h
(495 B)
??
pystrtod.h
(1.45 KB)
??
pythonrun.h
(6.62 KB)
??
pythread.h
(2.92 KB)
??
pytime.h
(7.43 KB)
??
rangeobject.h
(629 B)
??
setobject.h
(3.25 KB)
??
sliceobject.h
(2.43 KB)
??
structmember.h
(1.97 KB)
??
structseq.h
(1.32 KB)
??
symtable.h
(4.88 KB)
??
sysmodule.h
(1.32 KB)
??
token.h
(1.9 KB)
??
traceback.h
(3.56 KB)
??
tupleobject.h
(2.39 KB)
??
typeslots.h
(2.2 KB)
??
ucnhash.h
(1.03 KB)
??
unicodeobject.h
(79.86 KB)
??
warnings.h
(1.65 KB)
??
weakrefobject.h
(2.8 KB)
Editing: 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__ */ #ifdef __FreeBSD__ /* ** On FreeBSD, [n]curses.h and stdlib.h/wchar.h use different guards ** against multiple definition of wchar_t and wint_t. */ #ifdef _XOPEN_SOURCE_EXTENDED #ifndef __FreeBSD_version #include <osreldate.h> #endif #if __FreeBSD_version >= 500000 #ifndef __wchar_t #define __wchar_t #endif #ifndef __wint_t #define __wint_t #endif #else #ifndef _WCHAR_T #define _WCHAR_T #endif #ifndef _WINT_T #define _WINT_T #endif #endif #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_INCREF(Py_False); \ return Py_False; \ } \ Py_INCREF(Py_True); \ return Py_True; } #define NoArgNoReturnVoidFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ X(); \ Py_INCREF(Py_None); \ return Py_None; } #ifdef __cplusplus } #endif #endif /* !defined(Py_CURSES_H) */
Upload File
Create Folder