• Dimitris Lampridis's avatar
    sw/python: fix calls to trtl_close() · aef493d7
    Dimitris Lampridis authored
    Before we were not calling the proper close() function in the destructor
    of the TrtlDevice object.
    
    We were also also not checking that the device handle (token) was
    defined before using it.
    
    Last but not least, we were not wrapping the device handle as a Python
    Ctypes 'c_void_p', which caused Ctypes to convert it to a 32-bit int,
    pointing to nowhere in a 64-bit system.
    aef493d7
Name
Last commit
Last update
.reuse Loading commit data...
LICENSES Loading commit data...
demos Loading commit data...
distribution Loading commit data...
doc Loading commit data...
hdl Loading commit data...
software Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
.koji Loading commit data...
CHANGELOG.rst Loading commit data...
Manifest.py Loading commit data...
README.rst Loading commit data...
common.mk Loading commit data...