This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
line 91, in from_ctypes_type | |
return from_ctypes_type(ctypes_type._type_).pointer() | |
File "c:\soft\Python27-32b\Lib\site-packages\numba\support\ctypes_support.py", | |
line 97, in from_ctypes_type | |
for name, field_type in ctypes_type._fields_] | |
File "c:\soft\Python27-32b\Lib\site-packages\numba\support\ctypes_support.py", | |
line 91, in from_ctypes_type | |
return from_ctypes_type(ctypes_type._type_).pointer() | |
File "c:\soft\Python27-32b\Lib\site-packages\numba\support\ctypes_support.py", | |
line 88, in from_ctypes_type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ctypes import pythonapi, c_void_p | |
from numba import autojit | |
savethread = pythonapi.PyEval_SaveThread | |
savethread.argtypes = [] | |
savethread.restype = c_void_p | |
restorethread = pythonapi.PyEval_RestoreThread | |
restorethread.argtypes = [c_void_p] | |
restorethread.restype = None |
NewerOlder