/opt/alt/python27/include/python2.7
NameSizeModeActions
abstract.h452250644editdlrm
asdl.h10990644editdlrm
ast.h2300644editdlrm
bitset.h7920644editdlrm
boolobject.h9120644editdlrm
bufferobject.h9220644editdlrm
bytearrayobject.h19410644editdlrm
bytesobject.h11520644editdlrm
bytes_methods.h28040644editdlrm
cellobject.h6510644editdlrm
ceval.h50610644editdlrm
classobject.h30020644editdlrm
cobject.h29300644editdlrm
code.h44070644editdlrm
codecs.h61710644editdlrm
compile.h10650644editdlrm
complexobject.h18530644editdlrm
cStringIO.h20050644editdlrm
datetime.h83130644editdlrm
descrobject.h24800644editdlrm
dictobject.h68920644editdlrm
dtoa.h3380644editdlrm
enumobject.h2530644editdlrm
errcode.h13990644editdlrm
eval.h5570644editdlrm
fileobject.h36620644editdlrm
floatobject.h56250644editdlrm
frameobject.h32540644editdlrm
funcobject.h29950644editdlrm
genobject.h8910644editdlrm
graminit.h19170644editdlrm
grammar.h20510644editdlrm
import.h22230644editdlrm
intobject.h29760644editdlrm
intrcheck.h2740644editdlrm
iterobject.h5220644editdlrm
listobject.h25690644editdlrm
longintrepr.h39070644editdlrm
longobject.h58090644editdlrm
marshal.h7130644editdlrm
memoryobject.h28230644editdlrm
metagrammar.h2530644editdlrm
methodobject.h33550644editdlrm
modsupport.h50240644editdlrm
moduleobject.h6090644editdlrm
node.h9380644editdlrm
object.h400590644editdlrm
objimpl.h143380644editdlrm
opcode.h48140644editdlrm
osdefs.h10590644editdlrm
parsetok.h17800644editdlrm
patchlevel.h14500644editdlrm
pgen.h2530644editdlrm
pgenheaders.h11800644editdlrm
pyarena.h26930644editdlrm
pycapsule.h16790644editdlrm
pyconfig-64.h378410644editdlrm
pyconfig.h1620644editdlrm
pyctype.h12680644editdlrm
pydebug.h13220644editdlrm
pyerrors.h117410644editdlrm
pyexpat.h21170644editdlrm
pyfpe.h84710644editdlrm
pygetopt.h3480644editdlrm
pymacconfig.h29890644editdlrm
pymactoolbox.h86280644editdlrm
pymath.h73320644editdlrm
pymem.h47120644editdlrm
pyport.h325580644editdlrm
pystate.h64030644editdlrm
pystrcmp.h4630644editdlrm
pystrtod.h15820644editdlrm
Python-ast.h211130644editdlrm
Python.h43750644editdlrm
pythonrun.h72340644editdlrm
pythread.h11550644editdlrm
py_curses.h42730644editdlrm
rangeobject.h6460644editdlrm
setobject.h30770644editdlrm
sliceobject.h16810644editdlrm
stringobject.h79790644editdlrm
structmember.h29010644editdlrm
structseq.h8620644editdlrm
symtable.h37240644editdlrm
sysmodule.h8650644editdlrm
timefuncs.h5410644editdlrm
token.h17990644editdlrm
traceback.h6970644editdlrm
tupleobject.h21750644editdlrm
ucnhash.h9240644editdlrm
unicodeobject.h522270644editdlrm
warnings.h6350644editdlrm
weakrefobject.h28010644editdlrm
Edit: /opt/alt/python27/include/python2.7/intobject.h (2976B)
/* Integer object interface */ /* PyIntObject represents a (long) integer. This is an immutable object; an integer cannot change its value after creation. There are functions to create new integer objects, to test an object for integer-ness, and to get the integer value. The latter functions returns -1 and sets errno to EBADF if the object is not an PyIntObject. None of the functions should be applied to nil objects. The type PyIntObject is (unfortunately) exposed here so we can declare _Py_TrueStruct and _Py_ZeroStruct in boolobject.h; don't use this. */ #ifndef Py_INTOBJECT_H #define Py_INTOBJECT_H #ifdef __cplusplus extern "C" { #endif typedef struct { PyObject_HEAD long ob_ival; } PyIntObject; PyAPI_DATA(PyTypeObject) PyInt_Type; #define PyInt_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_INT_SUBCLASS) #define PyInt_CheckExact(op) (Py_TYPE(op) == &PyInt_Type) #define _PyAnyInt_Check(op) (PyInt_Check(op) || PyLong_Check(op)) #define _PyAnyInt_CheckExact(op) (PyInt_CheckExact(op) || PyLong_CheckExact(op)) PyAPI_FUNC(PyObject *) PyInt_FromString(char*, char**, int); #ifdef Py_USING_UNICODE PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, Py_ssize_t, int); #endif PyAPI_FUNC(PyObject *) PyInt_FromLong(long); PyAPI_FUNC(PyObject *) PyInt_FromSize_t(size_t); PyAPI_FUNC(PyObject *) PyInt_FromSsize_t(Py_ssize_t); PyAPI_FUNC(long) PyInt_AsLong(PyObject *); PyAPI_FUNC(Py_ssize_t) PyInt_AsSsize_t(PyObject *); PyAPI_FUNC(int) _PyInt_AsInt(PyObject *); PyAPI_FUNC(unsigned long) PyInt_AsUnsignedLongMask(PyObject *); #ifdef HAVE_LONG_LONG PyAPI_FUNC(unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *); #endif PyAPI_FUNC(long) PyInt_GetMax(void); /* Macro, trading safety for speed */ #define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) /* These aren't really part of the Int object, but they're handy; the protos * are necessary for systems that need the magic of PyAPI_FUNC and that want * to have stropmodule as a dynamically loaded module instead of building it * into the main Python shared library/DLL. Guido thinks I'm weird for * building it this way. :-) [cjh] */ PyAPI_FUNC(unsigned long) PyOS_strtoul(char *, char **, int); PyAPI_FUNC(long) PyOS_strtol(char *, char **, int); /* free list api */ PyAPI_FUNC(int) PyInt_ClearFreeList(void); /* Convert an integer to the given base. Returns a string. If base is 2, 8 or 16, add the proper prefix '0b', '0o' or '0x'. If newstyle is zero, then use the pre-2.6 behavior of octal having a leading "0" */ PyAPI_FUNC(PyObject*) _PyInt_Format(PyIntObject* v, int base, int newstyle); /* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */ PyAPI_FUNC(PyObject *) _PyInt_FormatAdvanced(PyObject *obj, char *format_spec, Py_ssize_t format_spec_len); PyAPI_FUNC(void) _PyInt_DebugMallocStats(FILE *out); #ifdef __cplusplus } #endif #endif /* !Py_INTOBJECT_H */