add BYTES_PER_WORD define

pull/25/head
Jan Pochyla 7 years ago
parent ae0c5b3cbc
commit 2d452551da

@ -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)

Loading…
Cancel
Save