MCPcopy Create free account
hub / github.com/pybind/pybind11 / array_descriptor_proxy

Function array_descriptor_proxy

include/pybind11/numpy.h:540–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540inline PyArrayDescr_Proxy *array_descriptor_proxy(PyObject *ptr) {
541 return reinterpret_cast<PyArrayDescr_Proxy *>(ptr);
542}
543
544inline const PyArrayDescr_Proxy *array_descriptor_proxy(const PyObject *ptr) {
545 return reinterpret_cast<const PyArrayDescr_Proxy *>(ptr);

Callers 4

kindMethod · 0.85
char_Method · 0.85
numMethod · 0.85
byteorderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected