py: Change mp_print_strn_t func type to use size_t for the str length.

This commit is contained in:
Damien George
2015-11-27 12:19:25 +00:00
parent fad7d9317b
commit 4e7107a572
6 changed files with 10 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ MP_DECLARE_CONST_FUN_OBJ(mp_stream_tell_obj);
// Iterator which uses mp_stream_unbuffered_readline_obj
mp_obj_t mp_stream_unbuffered_iter(mp_obj_t self);
mp_obj_t mp_stream_write(mp_obj_t self_in, const void *buf, mp_uint_t len);
mp_obj_t mp_stream_write(mp_obj_t self_in, const void *buf, size_t len);
#if MICROPY_STREAMS_NON_BLOCK
// TODO: This is POSIX-specific (but then POSIX is the only real thing,