Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
| import ctypes | |
| from ctypes_enum import CtypesEnum | |
| from .CAlgorithms import * | |
| from .EveErrors import * | |
| EVE_ALGORITHMS_SIZE = 20 | |
| class EveSupportedAlgorithms(ctypes.Structure): | |
| _fields_ = [ | |
| ("errorCode", ctypes.c_int), | |
| ("count", ctypes.c_uint), | |
| ("algorithms", ctypes.c_int * EVE_ALGORITHMS_SIZE), | |
| ] | |