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

Method get_value

tests/mod_per_interpreter_gil_with_singleton.cpp:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77public:
78 explicit MyClass(py::ssize_t v) : value(v) {}
79 py::ssize_t get_value() const { return value; }
80
81private:
82 py::ssize_t value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected