X7ROOT File Manager
Current Path:
/opt/alt/python34/include/python3.4m
opt
/
alt
/
python34
/
include
/
python3.4m
/
ðŸ“
..
📄
Python-ast.h
(19.03 KB)
📄
Python.h
(2.79 KB)
📄
abstract.h
(42.07 KB)
📄
accu.h
(1016 B)
📄
asdl.h
(1.16 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
(1.98 KB)
📄
bytesobject.h
(4.81 KB)
📄
cellobject.h
(701 B)
📄
ceval.h
(7.03 KB)
📄
classobject.h
(1.63 KB)
📄
code.h
(4.13 KB)
📄
codecs.h
(6.4 KB)
📄
compile.h
(2.07 KB)
📄
complexobject.h
(1.91 KB)
📄
datetime.h
(8.34 KB)
📄
descrobject.h
(2.84 KB)
📄
dictobject.h
(5.06 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.82 KB)
📄
fileutils.h
(1.47 KB)
📄
floatobject.h
(4.53 KB)
📄
frameobject.h
(3.47 KB)
📄
funcobject.h
(3.68 KB)
📄
genobject.h
(1.1 KB)
📄
graminit.h
(1.83 KB)
📄
grammar.h
(2 KB)
📄
import.h
(3.81 KB)
📄
intrcheck.h
(460 B)
📄
iterobject.h
(567 B)
📄
listobject.h
(2.77 KB)
📄
longintrepr.h
(3.9 KB)
📄
longobject.h
(7.98 KB)
📄
marshal.h
(803 B)
📄
memoryobject.h
(2.79 KB)
📄
metagrammar.h
(253 B)
📄
methodobject.h
(3.23 KB)
📄
modsupport.h
(4.78 KB)
📄
moduleobject.h
(1.58 KB)
📄
namespaceobject.h
(297 B)
📄
node.h
(1008 B)
📄
object.h
(37.62 KB)
📄
objimpl.h
(13.52 KB)
📄
opcode.h
(5.09 KB)
📄
osdefs.h
(848 B)
📄
parsetok.h
(2.82 KB)
📄
patchlevel.h
(1.1 KB)
📄
pgen.h
(253 B)
📄
pgenheaders.h
(1.12 KB)
📄
py_curses.h
(4.08 KB)
📄
pyarena.h
(2.68 KB)
📄
pyatomic.h
(5.8 KB)
📄
pycapsule.h
(1.69 KB)
📄
pyconfig-64.h
(42.32 KB)
📄
pyconfig.h
(162 B)
📄
pyctype.h
(1.29 KB)
📄
pydebug.h
(1019 B)
📄
pyerrors.h
(15.65 KB)
📄
pyexpat.h
(2.39 KB)
📄
pyfpe.h
(8.29 KB)
📄
pygetopt.h
(388 B)
📄
pyhash.h
(4.17 KB)
📄
pymacconfig.h
(2.92 KB)
📄
pymacro.h
(2.75 KB)
📄
pymath.h
(7.05 KB)
📄
pymem.h
(6.62 KB)
📄
pyport.h
(30.15 KB)
📄
pystate.h
(8.91 KB)
📄
pystrcmp.h
(436 B)
📄
pystrtod.h
(1.25 KB)
📄
pythonrun.h
(9.95 KB)
📄
pythread.h
(2.96 KB)
📄
pytime.h
(2.85 KB)
📄
rangeobject.h
(629 B)
📄
setobject.h
(3.22 KB)
📄
sliceobject.h
(1.55 KB)
📄
structmember.h
(2.02 KB)
📄
structseq.h
(1.32 KB)
📄
symtable.h
(4.98 KB)
📄
sysmodule.h
(1.32 KB)
📄
token.h
(1.84 KB)
📄
traceback.h
(2.16 KB)
📄
tupleobject.h
(2.39 KB)
📄
typeslots.h
(1.95 KB)
📄
ucnhash.h
(1.03 KB)
📄
unicodeobject.h
(76.3 KB)
📄
warnings.h
(1.39 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 /* the following define is necessary for OS X 10.6; without it, the Apple-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python can't get at the WINDOW flags field. */ #define NCURSES_OPAQUE 0 #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 #ifdef HAVE_NCURSES_H #include <ncurses.h> #else #include <curses.h> #ifdef HAVE_TERM_H /* for tigetstr, which is not declared in SysV curses */ #include <term.h> #endif #endif #ifdef HAVE_NCURSES_H /* configure was checking <curses.h>, but we will use <ncurses.h>, which has all these features. */ #ifndef WINDOW_HAS_FLAGS #define WINDOW_HAS_FLAGS 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 char *catchall_ERR = "curses function returned ERR"; static 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