add BYTES_PER_WORD define

This commit is contained in:
Jan Pochyla 2017-05-23 12:30:38 +02:00
parent ae0c5b3cbc
commit 2d452551da
1 changed files with 2 additions and 0 deletions

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)