| 53 | |
| 54 | |
| 55 | static inline PyObject * |
| 56 | PyArray_PyIntFromIntp(npy_intp const value) |
| 57 | { |
| 58 | #if NPY_SIZEOF_INTP <= NPY_SIZEOF_LONG |
| 59 | return PyLong_FromLong((long)value); |
| 60 | #else |
| 61 | return PyLong_FromLongLong((npy_longlong)value); |
| 62 | #endif |
| 63 | } |
| 64 | |
| 65 | NPY_NO_EXPORT PyObject * |
| 66 | PyArray_IntTupleFromIntp(int len, npy_intp const *vals); |
no outgoing calls
no test coverage detected