From 42f3de924bc3e285490f5f293955bc6d7e5a0edf Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 3 Oct 2014 17:44:14 +0000 Subject: py: Convert [u]int to mp_[u]int_t where appropriate. Addressing issue #50. --- py/obj.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'py/obj.h') 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 -- cgit v1.2.3