Fix for python 3
This commit is contained in:
parent
740d2595ee
commit
93cd20e933
8 changed files with 41 additions and 28 deletions
|
|
@ -179,7 +179,7 @@ class ExecutionEngine(llvm.Wrapper):
|
|||
self._ptr.DisableLazyCompilation(disabled)
|
||||
|
||||
def run_function(self, fn, args):
|
||||
ptr = self._ptr.runFunction(fn._ptr, map(lambda x: x._ptr, args))
|
||||
ptr = self._ptr.runFunction(fn._ptr, list(map(lambda x: x._ptr, args)))
|
||||
return GenericValue(ptr)
|
||||
|
||||
def get_pointer_to_function(self, fn):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue