Skip to content

Commit c1c7d10

Browse files
committed
[CPyCppyy] Rename PyInit_libcppyy to Init for ROOT module split [ROOT-patch]
Source: ROOT-master ROOT runs CPyCppyy and libROOTPythonizations as two shared libs that under the same libcppyy Python extension module. The real PyInit_libcppyy lives in libROOTPythonizations and calls CPyCppyy::Init() to start the extension.
1 parent 43dd0a9 commit c1c7d10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bindings/pyroot/cppyy/CPyCppyy/src/CPyCppyyModule.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ static struct PyModuleDef moduledef = {
10891089
namespace CPyCppyy {
10901090

10911091
//----------------------------------------------------------------------------
1092-
extern "C" PyObject* PyInit_libcppyy()
1092+
PyObject* Init()
10931093
{
10941094
// Initialization of extension module libcppyy.
10951095

0 commit comments

Comments
 (0)