kopia lustrzana https://github.com/micropython/micropython
py: For mp_buffer_info_t, change len type from mp_uint_t to size_t.
rodzic
77f85db41e
commit
0d1f8868b6
2
py/obj.h
2
py/obj.h
|
@ -425,7 +425,7 @@ typedef struct _mp_buffer_info_t {
|
|||
//int ver; // ?
|
||||
|
||||
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
|
||||
|
||||
// Rationale: to load arbitrary-sized sprites directly to LCD
|
||||
|
|
Ładowanie…
Reference in New Issue