Skip to content
Snippets Groups Projects
Commit 3e51cc18 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Workaround for ROOT-10770

parent fc07cf56
No related branches found
No related tags found
1 merge request!1071Fixes for ROOT master
......@@ -69,7 +69,13 @@ GaudiHandleArrayProperty = gbl.GaudiHandleArrayProperty
DataObject = gbl.DataObject
SUCCESS = gbl.StatusCode(gbl.StatusCode.SUCCESS, True)
FAILURE = gbl.StatusCode(gbl.StatusCode.FAILURE, True)
nullptr = gbl.nullptr
# Workaround for ROOT-10770
if hasattr(cppyy, 'nullptr'):
nullptr = cppyy.nullptr
elif hasattr(gbl, 'nullptr'):
nullptr = gbl.nullptr
else:
nullptr = None
# Helper to create a StringProperty
cppyy.gbl.gInterpreter.Declare('''
namespace GaudiPython { namespace Helpers {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment