Add a missing MP_PROTO_IMPLEMENT

This commit is contained in:
Jeff Epler 2023-08-15 13:25:25 -05:00
parent 8fd2d82622
commit 843fdbb250
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -101,6 +101,7 @@ STATIC const mp_rom_map_elem_t rawfile_locals_dict_table[] = {
STATIC MP_DEFINE_CONST_DICT(rawfile_locals_dict, rawfile_locals_dict_table);
STATIC const mp_stream_p_t fileio_stream_p = {
MP_PROTO_IMPLEMENT(MP_QSTR_protocol_stream)
.read = stest_read,
.write = stest_write,
.ioctl = stest_ioctl,