| 222 | } |
| 223 | |
| 224 | static PyObject * |
| 225 | arrayflags_fnc_get(PyArrayFlagsObject *self, void *NPY_UNUSED(ignored)) |
| 226 | { |
| 227 | PyObject *item; |
| 228 | |
| 229 | if (((self->flags & NPY_ARRAY_F_CONTIGUOUS) == NPY_ARRAY_F_CONTIGUOUS) && |
| 230 | !((self->flags & NPY_ARRAY_C_CONTIGUOUS) == NPY_ARRAY_C_CONTIGUOUS)) { |
| 231 | item = Py_True; |
| 232 | } |
| 233 | else { |
| 234 | item = Py_False; |
| 235 | } |
| 236 | Py_INCREF(item); |
| 237 | return item; |
| 238 | } |
| 239 | |
| 240 | static PyObject * |
| 241 | arrayflags_farray_get(PyArrayFlagsObject *self, void *NPY_UNUSED(ignored)) |
no outgoing calls
no test coverage detected