Searched refs:get2 (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_methods_and_attributes.cpp | 100 const UserType &get2() const { return v2; } function in struct:TestPropRVP 324 .def_property_readonly("ro_copy", &TestPropRVP::get2, rvp_copy) 325 .def_property_readonly("ro_func", py::cpp_function(&TestPropRVP::get2, rvp_copy)) 327 .def_property("rw_copy", &TestPropRVP::get2, &TestPropRVP::set2, rvp_copy) 328 .def_property("rw_func", py::cpp_function(&TestPropRVP::get2, rvp_copy), &TestPropRVP::set2)
|
H A D | test_local_bindings.py | 34 assert i2.get2() == 12 36 assert not hasattr(i1, 'get2')
|
Completed in 8 milliseconds