Skip to content

Commit

Permalink
Use PyDLL(None) to get the handle for the main program
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Sep 13, 2018
1 parent 559304b commit 9a93984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion julia/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def __init__(self, init_julia=True, jl_init_path=None, runtime=None,
else:
# we're assuming here we're fully inside a running Julia process,
# so we're fishing for symbols in our own process table
self.api = ctypes.PyDLL('')
self.api = ctypes.PyDLL(None)

# Store the running interpreter reference so we can start using it via self.call
self.api.jl_.argtypes = [void_p]
Expand Down

0 comments on commit 9a93984

Please sign in to comment.