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

Method make_record

include/pybind11/native_enum.h:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66private:
67 static detail::native_enum_record make_record() {
68 detail::native_enum_record ret;
69 ret.cpptype = &typeid(EnumType);
70 ret.size_bytes = sizeof(EnumType);
71 ret.is_signed = std::is_signed<Underlying>::value;
72 return ret;
73 }
74};
75
76PYBIND11_NAMESPACE_END(PYBIND11_NAMESPACE)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected