diff options
author | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-07-03 13:25:24 +0100 |
commit | 40f3c026823f8951a2fa04e9c7fc93c75bc27bec (patch) | |
tree | c9c8210654c7114f00c5234a8481d9b5fbd28ce0 /py/mpconfig.h | |
parent | 065aba587571150074ea79483ffa72c0fe6bc8c8 (diff) | |
download | micropython-40f3c026823f8951a2fa04e9c7fc93c75bc27bec.tar.gz micropython-40f3c026823f8951a2fa04e9c7fc93c75bc27bec.zip |
Rename machine_(u)int_t to mp_(u)int_t.
See discussion in issue #50.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 3a9d342ea3..da9cffc56a 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -375,8 +375,8 @@ typedef double mp_float_t; #define BITS_PER_BYTE (8) #define BITS_PER_WORD (BITS_PER_BYTE * BYTES_PER_WORD) -// machine_int_t value with most significant bit set -#define WORD_MSBIT_HIGH (((machine_uint_t)1) << (BYTES_PER_WORD * 8 - 1)) +// mp_int_t value with most significant bit set +#define WORD_MSBIT_HIGH (((mp_uint_t)1) << (BYTES_PER_WORD * 8 - 1)) #if !defined(MP_ENDIANNESS_LITTLE) && !defined(MP_ENDIANNESS_BIG) // Just because most archs are such? @@ -387,14 +387,14 @@ typedef double mp_float_t; #define MP_ENDIANNESS_LITTLE (0) #endif -// printf format spec to use for machine_int_t and friends +// printf format spec to use for mp_int_t and friends #ifndef INT_FMT #ifdef __LP64__ -// Archs where machine_int_t == long, long != int +// Archs where mp_int_t == long, long != int #define UINT_FMT "%lu" #define INT_FMT "%ld" #else -// Archs where machine_int_t == int +// Archs where mp_int_t == int #define UINT_FMT "%u" #define INT_FMT "%d" #endif |