From 40f3c026823f8951a2fa04e9c7fc93c75bc27bec Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 3 Jul 2014 13:25:24 +0100 Subject: Rename machine_(u)int_t to mp_(u)int_t. See discussion in issue #50. --- unix/mpconfigport.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'unix/mpconfigport.h') diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 763b34ba3e..002ea79f94 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -83,16 +83,16 @@ extern const struct _mp_obj_module_t mp_module_ffi; // type definitions for the specific machine #ifdef __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 #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 -- cgit v1.2.3