Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 475 Bytes
13170f7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | import ctypes
from ctypes_enum import CtypesEnum
from .CFpgaData import *
from .EveErrors import *
class EveFpgaOptions(ctypes.Structure):
_fields_ = [
("parameters", CFpgaParameters),
("error", ctypes.c_int),
]
class EveFpgaDebugOptions(ctypes.Structure):
_fields_ = [
("enableDrawingOnImage", ctypes.c_uint),
("error", ctypes.c_int),
]
class EveFpgaData(ctypes.Structure):
_fields_ = [
("data", ctypes.POINTER(CFpgaData)),
("error", ctypes.c_int),
]
|