aboutsummaryrefslogtreecommitdiff
path: root/py/bc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-03 17:44:14 +0000
committerDamien George <damien.p.george@gmail.com>2014-10-03 17:44:14 +0000
commit42f3de924bc3e285490f5f293955bc6d7e5a0edf (patch)
treec33a59825957ca5561bb7bb5038575ff052d5245 /py/bc.h
parent877dba3e1a76d151c0d93c88bcfaac62ecfe3799 (diff)
py: Convert [u]int to mp_[u]int_t where appropriate.
Addressing issue #50.
Diffstat (limited to 'py/bc.h')
-rw-r--r--py/bc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/bc.h b/py/bc.h
index b92342d84..08f4ef0d4 100644
--- a/py/bc.h
+++ b/py/bc.h
@@ -53,8 +53,8 @@ mp_uint_t mp_decode_uint(const byte **ptr);
mp_vm_return_kind_t mp_execute_bytecode(mp_code_state *code_state, volatile mp_obj_t inject_exc);
void mp_setup_code_state(mp_code_state *code_state, mp_obj_t self_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args);
-void mp_bytecode_print(const void *descr, const byte *code, int len);
-void mp_bytecode_print2(const byte *code, int len);
+void mp_bytecode_print(const void *descr, const byte *code, mp_uint_t len);
+void mp_bytecode_print2(const byte *code, mp_uint_t len);
// Helper macros to access pointer with least significant bit holding a flag
#define MP_TAGPTR_PTR(x) ((void*)((mp_uint_t)(x) & ~((mp_uint_t)1)))