Searched refs:def_property_readonly_static (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_methods_and_attributes.cpp298 .def_property_readonly_static("def_property_readonly_static",
329 .def_property_readonly_static("static_ro_ref", static_get1)
330 .def_property_readonly_static("static_ro_copy", static_get2, rvp_copy)
331 .def_property_readonly_static("static_ro_func", py::cpp_function(static_get2, rvp_copy))
337 .def_property_readonly_static("static_rvalue", [](py::object) { return UserType(1); });
342 .def_property_readonly_static("readonly", [](py::object) { return 1; });
H A Dtest_methods_and_attributes.py133 assert m.TestProperties.def_property_readonly_static == 3
135 m.TestProperties.def_property_readonly_static = 99
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h1213 def_property_readonly_static(name, fget, return_value_policy::reference, extra...);
1232 class_ &def_property_readonly_static(const char *name, const Getter &fget, const Extra& ...extra) { function in class:cpp_function
1233 return def_property_readonly_static(name, cpp_function(fget), return_value_policy::reference, extra...);
1238 class_ &def_property_readonly_static(const char *name, const cpp_function &fget, const Extra& ...extra) { function in class:cpp_function
1554 using Base::def_property_readonly_static;

Completed in 17 milliseconds