Home
last modified time | relevance | path

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

/external/python/pybind11/tests/
Dtest_methods_and_attributes.cpp258 auto static_get2 = [](py::object) -> const UserType & { return TestPropRVP::sv2; }; in TEST_SUBMODULE() local
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()