Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
507
PyObject* InterpreterSingleton::addModule(Py::ExtensionModuleBase* mod)
508
{
509
_modules.push_back(mod);
510
return mod->module().ptr();
511
}
512
513
void InterpreterSingleton::cleanupModules()
514
{
Callers
nothing calls this directly
Calls
3
push_back
Method · 0.45
ptr
Method · 0.45
module
Method · 0.45
Tested by
no test coverage detected