| 1064 | |
| 1065 | |
| 1066 | NPY_NO_EXPORT int |
| 1067 | PyArray_IntpFromPyIntConverter(PyObject *o, npy_intp *val) |
| 1068 | { |
| 1069 | *val = PyArray_PyIntAsIntp(o); |
| 1070 | if (error_converting(*val)) { |
| 1071 | return NPY_FAIL; |
| 1072 | } |
| 1073 | return NPY_SUCCEED; |
| 1074 | } |
| 1075 | |
| 1076 | |
| 1077 | /** |
nothing calls this directly
no test coverage detected