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

/gem5/ext/pybind11/tests/
H A Dtest_virtual_functions.cpp253 struct PyA2 : A2 { struct in inherits:A2
254 PyA2() { py::print("PyA2.PyA2()"); } function in struct:PyA2
255 ~PyA2() { py::print("PyA2.~PyA2()"); }
257 py::print("PyA2.f()");
262 py::class_<A2, PyA2>(m, "A2")
264 .def(py::init([](int) { return new PyA2(); }))
[all...]

Completed in 4 milliseconds