Searched refs:rvp_copy (Results 1 – 1 of 1) sorted by relevance
/external/python/pybind11/tests/ |
D | test_methods_and_attributes.cpp | 261 auto rvp_copy = py::return_value_policy::copy; in TEST_SUBMODULE() local 267 .def_property_readonly("ro_copy", &TestPropRVP::get2, rvp_copy) in TEST_SUBMODULE() 268 .def_property_readonly("ro_func", py::cpp_function(&TestPropRVP::get2, rvp_copy)) in TEST_SUBMODULE() 270 .def_property("rw_copy", &TestPropRVP::get2, &TestPropRVP::set2, rvp_copy) in TEST_SUBMODULE() 271 .def_property("rw_func", py::cpp_function(&TestPropRVP::get2, rvp_copy), &TestPropRVP::set2) in TEST_SUBMODULE() 273 .def_property_readonly_static("static_ro_copy", static_get2, rvp_copy) in TEST_SUBMODULE() 274 .def_property_readonly_static("static_ro_func", py::cpp_function(static_get2, rvp_copy)) in TEST_SUBMODULE() 276 .def_property_static("static_rw_copy", static_get2, static_set2, rvp_copy) in TEST_SUBMODULE() 277 .def_property_static("static_rw_func", py::cpp_function(static_get2, rvp_copy), static_set2) in TEST_SUBMODULE()
|