30a31,32
> #include "pybind11/pybind11.h"
>
39a42
> #include "sim/init.hh"
41a45,46
> namespace py = pybind11;
>
55,56d59
< void stattest_init();
< void stattest_run();
126,137d128
< stattest_init()
< {
< __stattest().init();
< }
<
< void
< stattest_run()
< {
< __stattest().run();
< }
<
< void
682a674,686
>
> static void
> stattest_init_pybind(py::module &m_internal)
> {
> py::module m = m_internal.def_submodule("stattest");
>
> m
> .def("stattest_init", []() { __stattest().init(); })
> .def("stattest_run", []() { __stattest().run(); })
> ;
> }
>
> static EmbeddedPyBind embed_("stattest", stattest_init_pybind);