NUMPY_API * * Get type-descriptor from an object forcing alignment if possible * None goes to DEFAULT type. * * any object with the .fields attribute and/or .itemsize attribute (if the *.fields attribute does not give the total size -- i.e. a partial record * naming). If itemsize is given it must be >= size computed from fields * * The .fields attribute must return a convertible dictiona
| 3129 | * Result inherits from NPY_VOID. |
| 3130 | */ |
| 3131 | NPY_NO_EXPORT int |
| 3132 | PyArray_DescrAlignConverter(PyObject *obj, PyArray_Descr **at) |
| 3133 | { |
| 3134 | *at = _convert_from_any(obj, 1); |
| 3135 | return (*at) ? NPY_SUCCEED : NPY_FAIL; |
| 3136 | } |
| 3137 | |
| 3138 | /*NUMPY_API |
| 3139 | * |
no test coverage detected