summaryrefslogtreecommitdiff
path: root/py/obj.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/obj.h
parent877dba3e1a76d151c0d93c88bcfaac62ecfe3799 (diff)
py: Convert [u]int to mp_[u]int_t where appropriate.
Addressing issue #50.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/obj.h b/py/obj.h
index 015628681..7d714a3cd 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -212,9 +212,9 @@ typedef struct _mp_buffer_info_t {
// them with ver = sizeof(struct). Cons: overkill for *micro*?
//int ver; // ?
- void *buf; // can be NULL if len == 0
- mp_int_t len; // in bytes; TODO should it be mp_uint_t?
- int typecode; // as per binary.h; TODO what is the correct type to use?
+ void *buf; // can be NULL if len == 0
+ mp_uint_t len; // in bytes
+ int typecode; // as per binary.h
// Rationale: to load arbitrary-sized sprites directly to LCD
// Cons: a bit adhoc usecase