MCPcopy Create free account
hub / github.com/davisking/dlib / array_descriptor2_proxy

Function array_descriptor2_proxy

dlib/external/pybind11/include/pybind11/numpy.h:405–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405inline const PyArrayDescr2_Proxy *array_descriptor2_proxy(const PyObject *ptr) {
406 return reinterpret_cast<const PyArrayDescr2_Proxy *>(ptr);
407}
408
409inline bool check_flags(const void *ptr, int flag) {
410 return (flag == (array_proxy(ptr)->flags & flag));

Callers 4

itemsizeMethod · 0.85
has_fieldsMethod · 0.85
alignmentMethod · 0.85
flagsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected