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

Function check_flags

include/pybind11/numpy.h:556–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556inline bool check_flags(const void *ptr, int flag) {
557 return (flag == (array_proxy(ptr)->flags & flag));
558}
559
560template <typename T>
561struct is_std_array : std::false_type {};

Callers 3

writeableMethod · 0.85
owndataMethod · 0.85
check_Function · 0.85

Calls 1

array_proxyFunction · 0.85

Tested by

no test coverage detected