1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
trezor-firmware/mocks/uctypes.py
2017-06-07 19:06:26 +02:00

38 lines
468 B
Python

ARRAY = 0
NATIVE = 0
LITTLE_ENDIAN = 0
BIG_ENDIAN = 0
VOID = 0
UINT8 = 0
INT8 = 0
UINT16 = 0
INT16 = 0
UINT32 = 0
INT32 = 0
UINT64 = 0
INT64 = 0
BFUINT8 = 0
BFINT8 = 0
BFUINT16 = 0
BFINT16 = 0
BFUINT32 = 0
BFINT32 = 0
BF_POS = 0
BF_LEN = 0
FLOAT32 = 0
def struct(addr, descriptor, layout_type=NATIVE):
return 0
def sizeof(struct):
return 0
def addressof(obj):
return 0
def bytes_at(addr, size):
return 0
def bytearray_at(addr, size):
return 0