CMS 3D CMS Logo

Functions
edm::python Namespace Reference

Functions

void initializeModule ()
 

Function Documentation

void edm::python::initializeModule ( )

Definition at line 27 of file initializeModule.cc.

References s_initialized.

Referenced by PythonProcessDesc::prepareToRead(), and edm::boost_python::readPSetsFrom().

27  {
28  char *libFWCoreParameterSet = const_cast<char *>("libFWCorePythonParameterSet");
29  PyImport_AppendInittab(libFWCoreParameterSet, &initlibFWCorePythonParameterSet );
30  Py_Initialize();
31  if(!s_initialized)
32  {
33  PyImport_ImportModule(libFWCoreParameterSet);
34  s_initialized = true;
35  }
36 
37  }
static bool s_initialized