mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
py: For mp_buffer_info_t, change len type from mp_uint_t to size_t.
This commit is contained in:
2
py/obj.h
2
py/obj.h
@@ -425,7 +425,7 @@ typedef struct _mp_buffer_info_t {
|
|||||||
//int ver; // ?
|
//int ver; // ?
|
||||||
|
|
||||||
void *buf; // can be NULL if len == 0
|
void *buf; // can be NULL if len == 0
|
||||||
mp_uint_t len; // in bytes
|
size_t len; // in bytes
|
||||||
int typecode; // as per binary.h
|
int typecode; // as per binary.h
|
||||||
|
|
||||||
// Rationale: to load arbitrary-sized sprites directly to LCD
|
// Rationale: to load arbitrary-sized sprites directly to LCD
|
||||||
|
|||||||
Reference in New Issue
Block a user