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.cpp315 auto static_get2 = [](py::object) -> const UserType & { return TestPropRVP::sv2; }; in TEST_SUBMODULE() local
330 .def_property_readonly_static("static_ro_copy", static_get2, rvp_copy) in TEST_SUBMODULE()
331 .def_property_readonly_static("static_ro_func", py::cpp_function(static_get2, rvp_copy)) in TEST_SUBMODULE()
333 .def_property_static("static_rw_copy", static_get2, static_set2, rvp_copy) in TEST_SUBMODULE()
334 .def_property_static("static_rw_func", py::cpp_function(static_get2, rvp_copy), static_set2) in TEST_SUBMODULE()