/
opt
/
alt
/
python27
/
include
/
python2.7
/
/opt/alt/python27/include/python2.7
mkdir
upload
Name
Size
Mode
Actions
abstract.h
45225
0644
edit
dl
rm
asdl.h
1099
0644
edit
dl
rm
ast.h
230
0644
edit
dl
rm
bitset.h
792
0644
edit
dl
rm
boolobject.h
912
0644
edit
dl
rm
bufferobject.h
922
0644
edit
dl
rm
bytearrayobject.h
1941
0644
edit
dl
rm
bytesobject.h
1152
0644
edit
dl
rm
bytes_methods.h
2804
0644
edit
dl
rm
cellobject.h
651
0644
edit
dl
rm
ceval.h
5061
0644
edit
dl
rm
classobject.h
3002
0644
edit
dl
rm
cobject.h
2930
0644
edit
dl
rm
code.h
4407
0644
edit
dl
rm
codecs.h
6171
0644
edit
dl
rm
compile.h
1065
0644
edit
dl
rm
complexobject.h
1853
0644
edit
dl
rm
cStringIO.h
2005
0644
edit
dl
rm
datetime.h
8313
0644
edit
dl
rm
descrobject.h
2480
0644
edit
dl
rm
dictobject.h
6892
0644
edit
dl
rm
dtoa.h
338
0644
edit
dl
rm
enumobject.h
253
0644
edit
dl
rm
errcode.h
1399
0644
edit
dl
rm
eval.h
557
0644
edit
dl
rm
fileobject.h
3662
0644
edit
dl
rm
floatobject.h
5625
0644
edit
dl
rm
frameobject.h
3254
0644
edit
dl
rm
funcobject.h
2995
0644
edit
dl
rm
genobject.h
891
0644
edit
dl
rm
graminit.h
1917
0644
edit
dl
rm
grammar.h
2051
0644
edit
dl
rm
import.h
2223
0644
edit
dl
rm
intobject.h
2976
0644
edit
dl
rm
intrcheck.h
274
0644
edit
dl
rm
iterobject.h
522
0644
edit
dl
rm
listobject.h
2569
0644
edit
dl
rm
longintrepr.h
3907
0644
edit
dl
rm
longobject.h
5809
0644
edit
dl
rm
marshal.h
713
0644
edit
dl
rm
memoryobject.h
2823
0644
edit
dl
rm
metagrammar.h
253
0644
edit
dl
rm
methodobject.h
3355
0644
edit
dl
rm
modsupport.h
5024
0644
edit
dl
rm
moduleobject.h
609
0644
edit
dl
rm
node.h
938
0644
edit
dl
rm
object.h
40059
0644
edit
dl
rm
objimpl.h
14338
0644
edit
dl
rm
opcode.h
4814
0644
edit
dl
rm
osdefs.h
1059
0644
edit
dl
rm
parsetok.h
1780
0644
edit
dl
rm
patchlevel.h
1450
0644
edit
dl
rm
pgen.h
253
0644
edit
dl
rm
pgenheaders.h
1180
0644
edit
dl
rm
pyarena.h
2693
0644
edit
dl
rm
pycapsule.h
1679
0644
edit
dl
rm
pyconfig-64.h
37841
0644
edit
dl
rm
pyconfig.h
162
0644
edit
dl
rm
pyctype.h
1268
0644
edit
dl
rm
pydebug.h
1322
0644
edit
dl
rm
pyerrors.h
11741
0644
edit
dl
rm
pyexpat.h
2117
0644
edit
dl
rm
pyfpe.h
8471
0644
edit
dl
rm
pygetopt.h
348
0644
edit
dl
rm
pymacconfig.h
2989
0644
edit
dl
rm
pymactoolbox.h
8628
0644
edit
dl
rm
pymath.h
7332
0644
edit
dl
rm
pymem.h
4712
0644
edit
dl
rm
pyport.h
32558
0644
edit
dl
rm
pystate.h
6403
0644
edit
dl
rm
pystrcmp.h
463
0644
edit
dl
rm
pystrtod.h
1582
0644
edit
dl
rm
Python-ast.h
21113
0644
edit
dl
rm
Python.h
4375
0644
edit
dl
rm
pythonrun.h
7234
0644
edit
dl
rm
pythread.h
1155
0644
edit
dl
rm
py_curses.h
4273
0644
edit
dl
rm
rangeobject.h
646
0644
edit
dl
rm
setobject.h
3077
0644
edit
dl
rm
sliceobject.h
1681
0644
edit
dl
rm
stringobject.h
7979
0644
edit
dl
rm
structmember.h
2901
0644
edit
dl
rm
structseq.h
862
0644
edit
dl
rm
symtable.h
3724
0644
edit
dl
rm
sysmodule.h
865
0644
edit
dl
rm
timefuncs.h
541
0644
edit
dl
rm
token.h
1799
0644
edit
dl
rm
traceback.h
697
0644
edit
dl
rm
tupleobject.h
2175
0644
edit
dl
rm
ucnhash.h
924
0644
edit
dl
rm
unicodeobject.h
52227
0644
edit
dl
rm
warnings.h
635
0644
edit
dl
rm
weakrefobject.h
2801
0644
edit
dl
rm
Edit:
/opt/alt/python27/include/python2.7/py_curses.h
(4273B)
#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; } 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 PyInt_FromLong((long) X()); } #define NoArgReturnStringFunction(X) \ static PyObject *PyCurses_ ## X (PyObject *self) \ { \ PyCursesInitialised \ return PyString_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) */
Save
cmd:
run