28#include "pybind11/eval.h"
29#include "pybind11/pybind11.h"
32#include "python/m5ImporterCode.hh"
35namespace py = pybind11;
41importerInit(py::module_ &m)
44 py::str importer_code(
45 reinterpret_cast<const char *
>(gem5::Blobs::m5ImporterCode),
46 gem5::Blobs::m5ImporterCode_len);
47 py::exec(std::move(importer_code),
m.attr(
"__dict__"));
#define GEM5_PYBIND_MODULE_INIT(name, func)