Skip to content

Commit df56ba2

Browse files
committed
WIP
1 parent cd119ca commit df56ba2

52 files changed

Lines changed: 156 additions & 52 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

extmod/modbtree.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ STATIC MP_DEFINE_CONST_DICT(btree_locals_dict, btree_locals_dict_table);
295295
STATIC const mp_obj_type_t btree_type = {
296296
{ &mp_type_type },
297297
// Save on qstr's, reuse same as for module
298+
.flags = MP_TYPE_FLAG_FULL,
298299
.name = MP_QSTR_btree,
299300
.print = btree_print,
300301
.getiter = btree_getiter,

extmod/modframebuf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ STATIC MP_DEFINE_CONST_DICT(framebuf_locals_dict, framebuf_locals_dict_table);
602602

603603
STATIC const mp_obj_type_t mp_type_framebuf = {
604604
{ &mp_type_type },
605+
.flags = MP_TYPE_FLAG_FULL,
605606
.name = MP_QSTR_FrameBuffer,
606607
.make_new = framebuf_make_new,
607608
.buffer_p = { .get_buffer = framebuf_get_buffer },

extmod/moduasyncio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ STATIC mp_obj_t task_iternext(mp_obj_t self_in) {
284284

285285
STATIC const mp_obj_type_t task_type = {
286286
{ &mp_type_type },
287+
.flags = MP_TYPE_FLAG_FULL,
287288
.name = MP_QSTR_Task,
288289
.make_new = task_make_new,
289290
.attr = task_attr,

extmod/moductypes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ MP_DEFINE_CONST_FUN_OBJ_2(uctypes_struct_bytes_at_obj, uctypes_struct_bytes_at);
622622

623623
STATIC const mp_obj_type_t uctypes_struct_type = {
624624
{ &mp_type_type },
625+
.flags = MP_TYPE_FLAG_FULL,
625626
.name = MP_QSTR_struct,
626627
.print = uctypes_struct_print,
627628
.make_new = uctypes_struct_make_new,

extmod/modutimeq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ STATIC MP_DEFINE_CONST_DICT(utimeq_locals_dict, utimeq_locals_dict_table);
193193

194194
STATIC const mp_obj_type_t utimeq_type = {
195195
{ &mp_type_type },
196+
.flags = MP_TYPE_FLAG_FULL,
196197
.name = MP_QSTR_utimeq,
197198
.make_new = utimeq_make_new,
198199
.unary_op = utimeq_unary_op,

extmod/moduzlib.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ STATIC const mp_stream_p_t decompio_stream_p = {
122122
#if !MICROPY_ENABLE_DYNRUNTIME
123123
STATIC const mp_obj_type_t decompio_type = {
124124
{ &mp_type_type },
125+
.flags = MP_TYPE_FLAG_FULL,
125126
.name = MP_QSTR_DecompIO,
126127
.make_new = decompio_make_new,
127128
.protocol = &decompio_stream_p,

extmod/vfs_fat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ STATIC const mp_vfs_proto_t fat_vfs_proto = {
474474

475475
const mp_obj_type_t mp_fat_vfs_type = {
476476
{ &mp_type_type },
477+
.flags = MP_TYPE_FLAG_FULL,
477478
.name = MP_QSTR_VfsFat,
478479
.make_new = fat_vfs_make_new,
479480
.protocol = &fat_vfs_proto,

extmod/vfs_fat_file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ STATIC const mp_stream_p_t vfs_fat_fileio_stream_p = {
244244

245245
const mp_obj_type_t mp_type_vfs_fat_fileio = {
246246
{ &mp_type_type },
247+
.flags = MP_TYPE_FLAG_FULL,
247248
.name = MP_QSTR_FileIO,
248249
.print = file_obj_print,
249250
.make_new = file_obj_make_new,

extmod/vfs_lfsx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ STATIC const mp_vfs_proto_t MP_VFS_LFSx(proto) = {
484484

485485
const mp_obj_type_t MP_TYPE_VFS_LFSx = {
486486
{ &mp_type_type },
487+
.flags = MP_TYPE_FLAG_FULL,
487488
#if LFS_BUILD_VERSION == 1
488489
.name = MP_QSTR_VfsLfs1,
489490
#else

extmod/vfs_lfsx_file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ STATIC const mp_stream_p_t MP_VFS_LFSx(fileio_stream_p) = {
226226

227227
const mp_obj_type_t MP_TYPE_VFS_LFSx_(_fileio) = {
228228
{ &mp_type_type },
229+
.flags = MP_TYPE_FLAG_FULL,
229230
.name = MP_QSTR_FileIO,
230231
.print = MP_VFS_LFSx(file_print),
231232
.getiter = mp_identity_getiter,

0 commit comments

Comments
 (0)