MCPcopy Create free account
hub / github.com/catboost/catboost / array_descriptor2_proxy

Function array_descriptor2_proxy

contrib/libs/pybind11/include/pybind11/numpy.h:409–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409inline const PyArrayDescr2_Proxy *array_descriptor2_proxy(const PyObject *ptr) {
410 return reinterpret_cast<const PyArrayDescr2_Proxy *>(ptr);
411}
412
413inline bool check_flags(const void *ptr, int flag) {
414 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