Skip to content

Commit 7302bc0

Browse files
committed
rename the type flag to EXTENDED for consistency
1 parent a19a48f commit 7302bc0

Some content is hidden

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

87 files changed

+121
-121
lines changed

extmod/modbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +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,
298+
.flags = MP_TYPE_FLAG_EXTENDED,
299299
.name = MP_QSTR_btree,
300300
.print = btree_print,
301301
.locals_dict = (void *)&btree_locals_dict,

extmod/modframebuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +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,
605+
.flags = MP_TYPE_FLAG_EXTENDED,
606606
.name = MP_QSTR_FrameBuffer,
607607
.make_new = framebuf_make_new,
608608
.locals_dict = (mp_obj_dict_t *)&framebuf_locals_dict,

extmod/moduasyncio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +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,
287+
.flags = MP_TYPE_FLAG_EXTENDED,
288288
.name = MP_QSTR_Task,
289289
.make_new = task_make_new,
290290
.attr = task_attr,

extmod/moductypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +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,
625+
.flags = MP_TYPE_FLAG_EXTENDED,
626626
.name = MP_QSTR_struct,
627627
.print = uctypes_struct_print,
628628
.make_new = uctypes_struct_make_new,

extmod/modutimeq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +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,
196+
.flags = MP_TYPE_FLAG_EXTENDED,
197197
.name = MP_QSTR_utimeq,
198198
.make_new = utimeq_make_new,
199199
.locals_dict = (void *)&utimeq_locals_dict,

extmod/moduzlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +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,
125+
.flags = MP_TYPE_FLAG_EXTENDED,
126126
.name = MP_QSTR_DecompIO,
127127
.make_new = decompio_make_new,
128128
.locals_dict = (void *)&decompio_locals_dict,

extmod/vfs_fat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +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,
477+
.flags = MP_TYPE_FLAG_EXTENDED,
478478
.name = MP_QSTR_VfsFat,
479479
.make_new = fat_vfs_make_new,
480480
.locals_dict = (mp_obj_dict_t *)&fat_vfs_locals_dict,

extmod/vfs_fat_file.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +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,
247+
.flags = MP_TYPE_FLAG_EXTENDED,
248248
.name = MP_QSTR_FileIO,
249249
.print = file_obj_print,
250250
.make_new = file_obj_make_new,
@@ -267,7 +267,7 @@ STATIC const mp_stream_p_t vfs_fat_textio_stream_p = {
267267

268268
const mp_obj_type_t mp_type_vfs_fat_textio = {
269269
{ &mp_type_type },
270-
.flags = MP_TYPE_FLAG_FULL,
270+
.flags = MP_TYPE_FLAG_EXTENDED,
271271
.name = MP_QSTR_TextIOWrapper,
272272
.print = file_obj_print,
273273
.make_new = file_obj_make_new,

extmod/vfs_lfsx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +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,
487+
.flags = MP_TYPE_FLAG_EXTENDED,
488488
#if LFS_BUILD_VERSION == 1
489489
.name = MP_QSTR_VfsLfs1,
490490
#else

0 commit comments

Comments
 (0)