diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:44:14 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:44:14 +0000 |
commit | 42f3de924bc3e285490f5f293955bc6d7e5a0edf (patch) | |
tree | c33a59825957ca5561bb7bb5038575ff052d5245 /py/obj.h | |
parent | 877dba3e1a76d151c0d93c88bcfaac62ecfe3799 (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |