| 238 | } |
| 239 | |
| 240 | static PyObject * |
| 241 | arrayflags_farray_get(PyArrayFlagsObject *self, void *NPY_UNUSED(ignored)) |
| 242 | { |
| 243 | PyObject *item; |
| 244 | |
| 245 | if (((self->flags & (NPY_ARRAY_ALIGNED| |
| 246 | NPY_ARRAY_WRITEABLE| |
| 247 | NPY_ARRAY_F_CONTIGUOUS)) != 0) && |
| 248 | !((self->flags & NPY_ARRAY_C_CONTIGUOUS) != 0)) { |
| 249 | item = Py_True; |
| 250 | } |
| 251 | else { |
| 252 | item = Py_False; |
| 253 | } |
| 254 | Py_INCREF(item); |
| 255 | return item; |
| 256 | } |
| 257 | |
| 258 | static PyObject * |
| 259 | arrayflags_num_get(PyArrayFlagsObject *self, void *NPY_UNUSED(ignored)) |
no outgoing calls
no test coverage detected