Ignore size parameter
This commit is contained in:
parent
ebc765e1e0
commit
fc1f47d0d2
@ -85,6 +85,7 @@ STATIC byte ujson_stream_next(ujson_stream_t *s) {
|
||||
#define CIRCUITPY_JSON_READ_CHUNK_SIZE 64
|
||||
|
||||
STATIC mp_uint_t ujson_python_readinto(mp_obj_t obj, void *buf, mp_uint_t size, int *errcode) {
|
||||
(void) size; // Ignore size because we know it's always 1.
|
||||
ujson_stream_t* s = obj;
|
||||
|
||||
if (s->start == s->end) {
|
||||
|
Loading…
Reference in New Issue
Block a user