29 #ifndef _CONTAINER_INIT_PYTHON_HXX_
30 #define _CONTAINER_INIT_PYTHON_HXX_
32 #include "SALOME_Container.hxx"
33 #include <SALOMEconfig.h>
55 #define Py_ACQUIRE_NEW_THREAD \
56 PyGILState_STATE gil_state = PyGILState_Ensure();
58 #define Py_RELEASE_NEW_THREAD \
59 PyGILState_Release(gil_state);
63 static void init_python(
int argc,
char **argv);