Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion can/ctypesutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ def map_symbol(

if sys.platform == "win32":
HRESULT = ctypes.HRESULT

elif sys.platform == "cygwin":

class HRESULT(ctypes.c_long):
pass

else:
HRESULT = None


# Common win32 definitions
class HANDLE(ctypes.c_void_p):
Expand Down
14 changes: 7 additions & 7 deletions can/interfaces/ixxat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"""

__all__ = [
"IXXATBus",
"canlib",
"canlib_vcinpl",
"canlib_vcinpl2",
"constants",
"CyclicSendTask",
"exceptions",
"get_ixxat_hwids",
"IXXATBus",
"structures",
]

from can.interfaces.ixxat.canlib import IXXATBus

# import this and not the one from vcinpl2 for backward compatibility
from can.interfaces.ixxat.canlib_vcinpl import get_ixxat_hwids
from can.interfaces.ixxat.canlib import ( # noqa: F401
CyclicSendTask,
IXXATBus,
get_ixxat_hwids,
)
Loading