python-2.7.6/include/pyport.h File Reference
#include "pyconfig.h"
#include <stdlib.h>
#include <math.h>
#include <time.h>
| #define _Py_SET_53BIT_PRECISION_END |
| #define _Py_SET_53BIT_PRECISION_HEADER |
| #define _Py_SET_53BIT_PRECISION_START |
| #define _Py_SET_EDOM_FOR_NAN |
( |
|
X | ) |
; |
| #define DL_EXPORT |
( |
|
RTYPE | ) |
RTYPE |
| #define DL_IMPORT |
( |
|
RTYPE | ) |
RTYPE |
| #define INT_MAX 2147483647 |
| #define LONG_MIN (-LONG_MAX-1) |
| #define Py_ADJUST_ERANGE1 |
( |
|
X | ) |
|
Value:do { \
if (errno == 0) { \
errno = ERANGE; \
} \
else if (errno == ERANGE && (X) == 0.0) \
errno = 0; \
} while(0)
Definition at line 503 of file pyport.h.
| #define Py_ADJUST_ERANGE2 |
( |
|
X, |
|
|
|
Y |
|
) |
| |
Value:do { \
if (errno == 0) \
errno = ERANGE; \
} \
else if (errno == ERANGE) \
errno = 0; \
} while(0)
Definition at line 513 of file pyport.h.
| #define Py_ARITHMETIC_RIGHT_SHIFT |
( |
|
TYPE, |
|
|
|
I, |
|
|
|
J |
|
) |
| ((I) >> (J)) |
| #define Py_DEPRECATED |
( |
|
VERSION_UNUSED | ) |
|
| #define Py_FORCE_EXPANSION |
( |
|
X | ) |
X |
| #define Py_FORMAT_PARSETUPLE |
( |
|
func, |
|
|
|
p1, |
|
|
|
p2 |
|
) |
| |
| #define PY_FORMAT_SIZE_T "" |
| #define Py_GCC_ATTRIBUTE |
( |
|
x | ) |
|
| #define Py_LOCAL_INLINE |
( |
|
type | ) |
static type |
| #define PY_NO_SHORT_FLOAT_REPR |
| #define Py_SAFE_DOWNCAST |
( |
|
VALUE, |
|
|
|
WIDE, |
|
|
|
NARROW |
|
) |
| (NARROW)(VALUE) |
| #define Py_SET_ERRNO_ON_MATH_ERROR |
( |
|
X | ) |
|
Value:do { \
if (errno == 0) { \
errno = ERANGE; \
} \
} while(0)
#define _Py_SET_EDOM_FOR_NAN(X)
Definition at line 475 of file pyport.h.
| #define PY_SIZE_MAX ((size_t)-1) |
| #define PyAPI_DATA |
( |
|
RTYPE | ) |
extern RTYPE |
| #define PyAPI_FUNC |
( |
|
RTYPE | ) |
RTYPE |
| #define PYLONG_BITS_IN_DIGIT 15 |
| #define PyMODINIT_FUNC void |
| #define S_ISDIR |
( |
|
x | ) |
(((x) & S_IFMT) == S_IFDIR) |
| #define S_ISREG |
( |
|
x | ) |
(((x) & S_IFMT) == S_IFREG) |
Go to the source code of this file.