diff --git a/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx b/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx index 29026c9cdadedc15e0c918e48a01e08ef33244a4..334b192ee044ac11df186b8c968996841f75f3b5 100644 --- a/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx +++ b/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx @@ -89,7 +89,7 @@ extern "C" void initlibROOTPython() PyModule_AddObject(gRootModule, (char *)"kSignalSafe", PyInt_FromLong((int)CallContext::kSafe)); // setup PyROOT - PyROOT::InitPyROOT(); + PyROOT::Init(); // signal policy: don't abort interpreter in interactive mode CallContext::SetSignalPolicy(gROOT->IsBatch() ? CallContext::kFast : CallContext::kSafe); diff --git a/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.cxx b/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.cxx index 75ec318cbe4a87facb39959fe9e7892dfc15030d..54b3e274443158666da46ab186873549f0fc04fd 100644 --- a/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.cxx +++ b/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.cxx @@ -35,7 +35,7 @@ static void AddToGlobalScope(const char *label, const char * /* hdr */, TObject } // unnamed namespace -void PyROOT::InitPyROOT() +void PyROOT::Init() { // Initialize and acquire the GIL to allow for threading in ROOT PyEval_InitThreads(); diff --git a/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.h b/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.h index 7f211e1d6d71a64372f16290ee40e6016e4158bd..fe104b8044b1bdd33e1382e36c8f319cfe07367a 100644 --- a/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.h +++ b/bindings/pyroot_experimental/PyROOT/src/PyROOTWrapper.h @@ -5,7 +5,7 @@ namespace PyROOT { // initialize ROOT -void InitPyROOT(); +void Init(); } // namespace PyROOT