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

/gem5/ext/pybind11/tests/
H A Dtest_exceptions.cpp61 struct PythonCallInDestructor { struct
62 PythonCallInDestructor(const py::dict &d) : d(d) {} function in struct:PythonCallInDestructor
63 ~PythonCallInDestructor() { d["good"] = true; }
176 PythonCallInDestructor set_dict_in_destructor(d);

Completed in 4 milliseconds