MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / getwritebuf

Function getwritebuf

src/python/PyImath/PyImathBufferProtocol.cpp:190–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188
189template <class ArrayT>
190Py_ssize_t
191getwritebuf (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
201template <class ArrayT>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected