Home
last modified time | relevance | path

Searched refs:rw_value (Results 1 – 2 of 2) sorted by relevance

/external/python/pybind11/tests/
Dtest_methods_and_attributes.cpp130 void increase_value() { rw_value++; ro_value += 0.25; } in increase_value()
131 void set_int(int v) { rw_value = v; } in set_int()
132 int get_int() const { return rw_value; } in get_int()
134 int rw_value = 42; member in UnregisteredBase
140 double sum() const { return rw_value + ro_value; } in sum()
363 .def_readwrite("rw_value", &RegisteredDerived::rw_value) in TEST_SUBMODULE()
Dtest_methods_and_attributes.py456 assert a.rw_value == 42
458 a.rw_value += 5
461 assert a.rw_value == 48