1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 00:08:10 +00:00

add BYTES_PER_WORD define

This commit is contained in:
Jan Pochyla 2017-05-23 12:30:38 +02:00
parent ae0c5b3cbc
commit 2d452551da

View File

@ -146,6 +146,8 @@ extern const struct _mp_obj_module_t mp_module_TrezorUtils;
// type definitions for the specific machine
#define BYTES_PER_WORD (4)
#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p) | 1))
#define MP_SSIZE_MAX (0x0fffffff)