-
Notifications
You must be signed in to change notification settings - Fork 36
pyLCIO: adapt to changes in ROOT regarding libcppyy #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,8 +12,12 @@ | |
| import pyLCIO | ||
| import pyLCIO.exceptions.Exceptions | ||
|
|
||
| # Cope with API change with ROOT version >= 6.32 | ||
| if ROOT.gROOT.GetVersionCode() >= (6<<16) + (32<<8) : | ||
| from cppyy.types import Function as CPPOverload | ||
| # Cope with API change with ROOT version >= 6.21 | ||
| if ROOT.gROOT.GetVersionCode() >= (6<<16) + (21<<8) : | ||
| elif ROOT.gROOT.GetVersionCode() >= (6<<16) + (21<<8) : | ||
| # libcppyy has been moved in ROOT 6.38 and can no longer be imported | ||
| from libcppyy import CPPOverload | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we add a comment here that this is removed with ROOT 6.36, so that we have a chance to remove this without having to do git archeology?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea, I added a comment.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks :) |
||
| else: | ||
| CPPOverload = ROOT.MethodProxy | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.