NUMPY_API * * Get type-descriptor from an object forcing alignment if possible * None goes to NULL. */
| 3141 | * None goes to NULL. |
| 3142 | */ |
| 3143 | NPY_NO_EXPORT int |
| 3144 | PyArray_DescrAlignConverter2(PyObject *obj, PyArray_Descr **at) |
| 3145 | { |
| 3146 | if (obj == Py_None) { |
| 3147 | *at = NULL; |
| 3148 | return NPY_SUCCEED; |
| 3149 | } |
| 3150 | else { |
| 3151 | return PyArray_DescrAlignConverter(obj, at); |
| 3152 | } |
| 3153 | } |
| 3154 | |
| 3155 | |
| 3156 |
nothing calls this directly
no test coverage detected