| 188 | |
| 189 | template <class ArrayT> |
| 190 | Py_ssize_t |
| 191 | getwritebuf (PyObject *obj, Py_ssize_t segment, void **buf) |
| 192 | { |
| 193 | PyErr_SetString |
| 194 | (PyExc_ValueError, |
| 195 | "writable buffers supported only with new-style buffer protocol."); |
| 196 | |
| 197 | return -1; |
| 198 | } |
| 199 | |
| 200 | |
| 201 | template <class ArrayT> |
nothing calls this directly
no outgoing calls
no test coverage detected