MCPcopy Create free account
hub / github.com/mhammond/pywin32 / Init

Method Init

isapi/src/PythonEng.cpp:186–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186bool CPythonHandler::Init(
187 CPythonEngine *engine,
188 const char *factory, const char *nameinit, const char *namedo,
189 const char *nameterm)
190{
191 if (!engine->InitMainInterp())
192 return false;
193 m_nameinit = nameinit;
194 m_namedo = namedo;
195 m_nameterm = nameterm;
196 m_namefactory = factory;
197 m_engine = engine;
198 return LoadHandler(false);
199}
200
201bool CPythonHandler::LoadHandler(bool reload)
202{

Callers 2

GetExtensionVersionFunction · 0.45
GetFilterVersionFunction · 0.45

Calls 1

InitMainInterpMethod · 0.80

Tested by

no test coverage detected