Lines Matching defs:module
136 // Load the importer module
156 void (*init_func)(py::module &),
164 void (*init_func)(py::module &))
171 EmbeddedPyBind::init(py::module &m)
203 py::module m_m5 = py::module("_m5");
289 // We have to set things up in the special __main__ module
290 PyObject *module = PyImport_AddModule(PyCC("__main__"));
291 if (module == NULL)
293 PyObject *dict = PyModule_GetDict(module);
295 // import the main m5 module