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

Method get_int

tests/test_methods_and_attributes.cpp:159–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158 void set_int(int v) { rw_value = v; }
159 int get_int() const { return rw_value; }
160 double get_double() const { return ro_value; }
161 int rw_value = 42;
162 double ro_value = 1.25;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected