MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / addModule

Method addModule

src/Base/Interpreter.cpp:507–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507PyObject* InterpreterSingleton::addModule(Py::ExtensionModuleBase* mod)
508{
509 _modules.push_back(mod);
510 return mod->module().ptr();
511}
512
513void InterpreterSingleton::cleanupModules()
514{

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.45
ptrMethod · 0.45
moduleMethod · 0.45

Tested by

no test coverage detected