| 84 | } |
| 85 | |
| 86 | static PyObject * |
| 87 | npyiter_new(PyTypeObject *subtype, PyObject *NPY_UNUSED(args), |
| 88 | PyObject *NPY_UNUSED(kwds)) |
| 89 | { |
| 90 | NewNpyArrayIterObject *self; |
| 91 | |
| 92 | self = (NewNpyArrayIterObject *)subtype->tp_alloc(subtype, 0); |
| 93 | if (self != NULL) { |
| 94 | self->iter = NULL; |
| 95 | self->nested_child = NULL; |
| 96 | } |
| 97 | |
| 98 | return (PyObject *)self; |
| 99 | } |
| 100 | |
| 101 | static int |
| 102 | NpyIter_GlobalFlagsConverter(PyObject *flags_in, npy_uint32 *flags) |
no outgoing calls
no test coverage detected