"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "numpy/core/src/multiarray/conversion_utils.h" between
numpy-1.21.0.tar.gz and numpy-1.21.1.tar.gz

About: NumPy is the fundamental package for scientific computing with Python.

conversion_utils.h  (numpy-1.21.0):conversion_utils.h  (numpy-1.21.1)
skipping to change at line 42 skipping to change at line 42
NPY_NO_EXPORT npy_intp NPY_NO_EXPORT npy_intp
PyArray_IntpFromIndexSequence(PyObject *seq, npy_intp *vals, npy_intp maxvals); PyArray_IntpFromIndexSequence(PyObject *seq, npy_intp *vals, npy_intp maxvals);
NPY_NO_EXPORT int NPY_NO_EXPORT int
PyArray_IntpFromSequence(PyObject *seq, npy_intp *vals, int maxvals); PyArray_IntpFromSequence(PyObject *seq, npy_intp *vals, int maxvals);
NPY_NO_EXPORT int NPY_NO_EXPORT int
PyArray_TypestrConvert(int itemsize, int gentype); PyArray_TypestrConvert(int itemsize, int gentype);
static NPY_INLINE PyObject *
PyArray_PyIntFromIntp(npy_intp const value)
{
#if NPY_SIZEOF_INTP <= NPY_SIZEOF_LONG
return PyLong_FromLong((long)value);
#else
return PyLong_FromLongLong((npy_longlong)value);
#endif
}
NPY_NO_EXPORT PyObject * NPY_NO_EXPORT PyObject *
PyArray_IntTupleFromIntp(int len, npy_intp const *vals); PyArray_IntTupleFromIntp(int len, npy_intp const *vals);
NPY_NO_EXPORT int NPY_NO_EXPORT int
PyArray_CorrelatemodeConverter(PyObject *object, NPY_CORRELATEMODE *val); PyArray_CorrelatemodeConverter(PyObject *object, NPY_CORRELATEMODE *val);
NPY_NO_EXPORT int NPY_NO_EXPORT int
PyArray_SelectkindConverter(PyObject *obj, NPY_SELECTKIND *selectkind); PyArray_SelectkindConverter(PyObject *obj, NPY_SELECTKIND *selectkind);
/* /*
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)