Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Include/longobject.h

    r2 r388  
    2222PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
    2323PyAPI_FUNC(long) PyLong_AsLong(PyObject *);
     24PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
    2425PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLong(PyObject *);
    2526PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLongMask(PyObject *);
    2627PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
     28PyAPI_FUNC(int) _PyLong_AsInt(PyObject *);
     29PyAPI_FUNC(PyObject *) PyLong_GetInfo(void);
    2730
    2831/* For use by intobject.c only */
     
    3235PyAPI_DATA(int) _PyLong_DigitValue[256];
    3336
    34 /* _PyLong_AsScaledDouble returns a double x and an exponent e such that
    35    the true value is approximately equal to x * 2**(SHIFT*e).  e is >= 0.
    36    x is 0.0 if and only if the input is 0 (in which case, e and x are both
    37    zeroes).  Overflow is impossible.  Note that the exponent returned must
    38    be multiplied by SHIFT!  There may not be enough room in an int to store
    39    e*SHIFT directly. */
    40 PyAPI_FUNC(double) _PyLong_AsScaledDouble(PyObject *vv, int *e);
     37/* _PyLong_Frexp returns a double x and an exponent e such that the
     38   true value is approximately equal to x * 2**e.  e is >= 0.  x is
     39   0.0 if and only if the input is 0 (in which case, e and x are both
     40   zeroes); otherwise, 0.5 <= abs(x) < 1.0.  On overflow, which is
     41   possible if the number of bits doesn't fit into a Py_ssize_t, sets
     42   OverflowError and returns -1.0 for x, 0 for e. */
     43PyAPI_FUNC(double) _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e);
    4144
    4245PyAPI_FUNC(double) PyLong_AsDouble(PyObject *);
     
    5053PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLong(PyObject *);
    5154PyAPI_FUNC(unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *);
     55PyAPI_FUNC(PY_LONG_LONG) PyLong_AsLongLongAndOverflow(PyObject *, int *);
    5256#endif /* HAVE_LONG_LONG */
    5357
Note: See TracChangeset for help on using the changeset viewer.