Skip to content

Commit

Permalink
consistency: use gSystem also for PyPy/cppyy reflection loading
Browse files Browse the repository at this point in the history
  • Loading branch information
wlav committed Aug 3, 2017
1 parent 6a03471 commit 5dbe7b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/cppyy/_pypy_cppyy.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@

# add _backend itself to exports
__all__.append('_backend')

def load_reflection_info(name):
sc = _backend.gbl.gSystem.Load(name)
if sc == -1:
raise RuntimeError("missing reflection library "+name)

0 comments on commit 5dbe7b4

Please sign in to comment.