Searched refs:WithStatic1 (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_multiple_inheritance.cpp | 25 struct WithStatic1 { struct 26 static std::string static_func1() { return "WithStatic1"; }; 33 struct VanillaStaticMix1 : Vanilla, WithStatic1, WithStatic2 { 37 struct VanillaStaticMix2 : WithStatic1, Vanilla, WithStatic2 { 41 int WithStatic1::static_value1 = 1; 173 py::class_<WithStatic1>(m, "WithStatic1") 175 .def_static("static_func1", &WithStatic1::static_func1) 176 .def_readwrite_static("static_value1", &WithStatic1::static_value1); 183 py::class_<VanillaStaticMix1, Vanilla, WithStatic1, WithStatic [all...] |
H A D | test_multiple_inheritance.py | 238 assert d.static_func1() == "WithStatic1" 242 m.WithStatic1.static_value1 = 1
|
Completed in 6 milliseconds