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. --- py/objgenerator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'py/objgenerator.c') diff --git a/py/objgenerator.c b/py/objgenerator.c index 7eaeac9cc..741ffc8a8 100644 --- a/py/objgenerator.c +++ b/py/objgenerator.c @@ -59,12 +59,12 @@ STATIC mp_obj_t gen_wrap_call(mp_obj_t self_in, uint n_args, uint n_kw, const mp const byte *bytecode = self_fun->bytecode; // get code info size, and skip the line number table - machine_uint_t code_info_size = bytecode[0] | (bytecode[1] << 8) | (bytecode[2] << 16) | (bytecode[3] << 24); + mp_uint_t code_info_size = bytecode[0] | (bytecode[1] << 8) | (bytecode[2] << 16) | (bytecode[3] << 24); bytecode += code_info_size; // bytecode prelude: get state size and exception stack size - machine_uint_t n_state = bytecode[0] | (bytecode[1] << 8); - machine_uint_t n_exc_stack = bytecode[2] | (bytecode[3] << 8); + mp_uint_t n_state = bytecode[0] | (bytecode[1] << 8); + mp_uint_t n_exc_stack = bytecode[2] | (bytecode[3] << 8); bytecode += 4; // allocate the generator object, with room for local stack and exception stack -- cgit v1.2.3