* Sets the base object using PyArray_SetBaseObject */
| 1004 | * Sets the base object using PyArray_SetBaseObject |
| 1005 | */ |
| 1006 | NPY_NO_EXPORT PyObject * |
| 1007 | PyArray_NewFromDescrAndBase( |
| 1008 | PyTypeObject *subtype, PyArray_Descr *descr, |
| 1009 | int nd, npy_intp const *dims, npy_intp const *strides, void *data, |
| 1010 | int flags, PyObject *obj, PyObject *base) |
| 1011 | { |
| 1012 | return PyArray_NewFromDescr_int(subtype, descr, nd, |
| 1013 | dims, strides, data, |
| 1014 | flags, obj, base, 0); |
| 1015 | } |
| 1016 | |
| 1017 | /* |
| 1018 | * Creates a new array with the same shape as the provided one, |
no test coverage detected