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 /windows | |
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 'windows')
-rw-r--r-- | windows/mpconfigport.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 963fcfe768..93b450dbbc 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -65,19 +65,19 @@ // type definitions for the specific machine #if defined( __MINGW32__ ) && defined( __LP64__ ) -typedef long machine_int_t; // must be pointer size -typedef unsigned long machine_uint_t; // must be pointer size +typedef long mp_int_t; // must be pointer size +typedef unsigned long mp_uint_t; // must be pointer size #elif defined ( _MSC_VER ) && defined( _WIN64 ) -typedef __int64 machine_int_t; -typedef unsigned __int64 machine_uint_t; +typedef __int64 mp_int_t; +typedef unsigned __int64 mp_uint_t; #else // These are definitions for machines where sizeof(int) == sizeof(void*), // regardless for actual size. -typedef int machine_int_t; // must be pointer size -typedef unsigned int machine_uint_t; // must be pointer size +typedef int mp_int_t; // must be pointer size +typedef unsigned int mp_uint_t; // must be pointer size #endif -#define BYTES_PER_WORD sizeof(machine_int_t) +#define BYTES_PER_WORD sizeof(mp_int_t) typedef void *machine_ptr_t; // must be of pointer size typedef const void *machine_const_ptr_t; // must be of pointer size |