test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::readPSetsFrom().

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