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

Function enum_base

include/pybind11/pybind11.h:2942–2942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2940
2941struct enum_base {
2942 enum_base(const handle &base, const handle &parent) : m_base(base), m_parent(parent) {}
2943
2944 PYBIND11_NOINLINE void init(bool is_arithmetic, bool is_convertible) {
2945 m_base.attr("__entries") = dict();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected