Mercurial > cpython-lru_cache-weakref
view Include/intobject.h @ 48416:fb02fedfe647
Merged revisions 64677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64677 | brett.cannon | 2008-07-02 14:52:42 -0700 (Wed, 02 Jul 2008) | 2 lines
Revert r64673 and instead just change the file encoding.
........
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Wed, 02 Jul 2008 22:06:12 +0000 |
| parents | 4e1d6491367c |
| children | 59daa7cf8ca0 |
line wrap: on
line source
/* Integer object interface This header files exists to make porting code to Python 3.0 easier. It defines aliases from PyInt_* to PyLong_*. Only PyInt_GetMax() and PyInt_CheckExact() remain in longobject.h. */ #ifndef Py_INTOBJECT_H #define Py_INTOBJECT_H #ifdef __cplusplus extern "C" { #endif #warning "DeprecationWarning: intobject.h is going to be removed in 3.1" #define PyInt_Check(op) PyLong_Check(op) #define PyInt_FromString PyLong_FromString #define PyInt_FromUnicode PyLong_FromUnicode #define PyInt_FromLong PyLong_FromLong #define PyInt_FromSize_t PyLong_FromSize_t #define PyInt_FromSsize_t PyLong_FromSsize_t #define PyInt_AsLong PyLong_AsLong #define PyInt_AsSsize_t PyLong_AsSsize_t #define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask #define PyInt_AS_LONG PyLong_AS_LONG #ifdef __cplusplus } #endif #endif /* !Py_INTOBJECT_H */
