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

/gem5/ext/pybind11/include/pybind11/
H A Diostream.h150 class OstreamRedirect { class
157 OstreamRedirect(bool do_stdout = true, bool do_stderr = true) function in class:OstreamRedirect
202 inline class_<detail::OstreamRedirect> add_ostream_redirect(module m, std::string name = "ostream_redirect") {
203 return class_<detail::OstreamRedirect>(m, name.c_str(), module_local())
205 .def("__enter__", &detail::OstreamRedirect::enter)
206 .def("__exit__", [](detail::OstreamRedirect &self_, args) { self_.exit(); });

Completed in 4 milliseconds