Ticket #56750: patch-IndirectPythonInterface.cxx.diff

File patch-IndirectPythonInterface.cxx.diff, 633 bytes (added by josephsacco, 6 years ago)

patch-IndirectPythonInterface.cxx.diff 24July2018

  • Import/pycxx-7.0.3/Src/IndirectPythonInterface.cxx

    old new  
    468468int &_Py_OptimizeFlag()                 { return Py_OptimizeFlag; }
    469469int &_Py_NoSiteFlag()                   { return Py_NoSiteFlag; }
    470470int &_Py_VerboseFlag()                  { return Py_VerboseFlag; }
    471 char *__Py_PackageContext()             { return _Py_PackageContext; }
     471char *__Py_PackageContext()             { return (char *)(_Py_PackageContext); }
    472472
    473473//
    474474//    Needed to keep the abstactions for delayload interface