Skip to content

Commit 52540a9

Browse files
committed
Rename EXTENDED_FIELDS -> MP_TYPE_EXTENDED_FIELDS
1 parent 7302bc0 commit 52540a9

Some content is hidden

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

84 files changed

+109
-109
lines changed

extmod/modbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ STATIC const mp_obj_type_t btree_type = {
299299
.name = MP_QSTR_btree,
300300
.print = btree_print,
301301
.locals_dict = (void *)&btree_locals_dict,
302-
EXTENDED_FIELDS(
302+
MP_TYPE_EXTENDED_FIELDS(
303303
.getiter = btree_getiter,
304304
.iternext = btree_iternext,
305305
.binary_op = btree_binary_op,

extmod/modframebuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ STATIC const mp_obj_type_t mp_type_framebuf = {
606606
.name = MP_QSTR_FrameBuffer,
607607
.make_new = framebuf_make_new,
608608
.locals_dict = (mp_obj_dict_t *)&framebuf_locals_dict,
609-
EXTENDED_FIELDS(
609+
MP_TYPE_EXTENDED_FIELDS(
610610
.buffer_p = { .get_buffer = framebuf_get_buffer },
611611
),
612612
};

extmod/moduasyncio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ STATIC const mp_obj_type_t task_type = {
288288
.name = MP_QSTR_Task,
289289
.make_new = task_make_new,
290290
.attr = task_attr,
291-
EXTENDED_FIELDS(
291+
MP_TYPE_EXTENDED_FIELDS(
292292
.getiter = task_getiter,
293293
.iternext = task_iternext,
294294
),

extmod/moductypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ STATIC const mp_obj_type_t uctypes_struct_type = {
627627
.print = uctypes_struct_print,
628628
.make_new = uctypes_struct_make_new,
629629
.attr = uctypes_struct_attr,
630-
EXTENDED_FIELDS(
630+
MP_TYPE_EXTENDED_FIELDS(
631631
.subscr = uctypes_struct_subscr,
632632
.unary_op = uctypes_struct_unary_op,
633633
.buffer_p = { .get_buffer = uctypes_get_buffer },

extmod/modutimeq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ STATIC const mp_obj_type_t utimeq_type = {
197197
.name = MP_QSTR_utimeq,
198198
.make_new = utimeq_make_new,
199199
.locals_dict = (void *)&utimeq_locals_dict,
200-
EXTENDED_FIELDS(
200+
MP_TYPE_EXTENDED_FIELDS(
201201
.unary_op = utimeq_unary_op,
202202
),
203203
};

extmod/moduzlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ STATIC const mp_obj_type_t decompio_type = {
126126
.name = MP_QSTR_DecompIO,
127127
.make_new = decompio_make_new,
128128
.locals_dict = (void *)&decompio_locals_dict,
129-
EXTENDED_FIELDS(
129+
MP_TYPE_EXTENDED_FIELDS(
130130
.protocol = &decompio_stream_p,
131131
),
132132
};

extmod/vfs_fat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ const mp_obj_type_t mp_fat_vfs_type = {
478478
.name = MP_QSTR_VfsFat,
479479
.make_new = fat_vfs_make_new,
480480
.locals_dict = (mp_obj_dict_t *)&fat_vfs_locals_dict,
481-
EXTENDED_FIELDS(
481+
MP_TYPE_EXTENDED_FIELDS(
482482
.protocol = &fat_vfs_proto,
483483
),
484484

extmod/vfs_fat_file.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const mp_obj_type_t mp_type_vfs_fat_fileio = {
249249
.print = file_obj_print,
250250
.make_new = file_obj_make_new,
251251
.locals_dict = (mp_obj_dict_t *)&vfs_fat_rawfile_locals_dict,
252-
EXTENDED_FIELDS(
252+
MP_TYPE_EXTENDED_FIELDS(
253253
.getiter = mp_identity_getiter,
254254
.iternext = mp_stream_unbuffered_iter,
255255
.protocol = &vfs_fat_fileio_stream_p,
@@ -272,7 +272,7 @@ const mp_obj_type_t mp_type_vfs_fat_textio = {
272272
.print = file_obj_print,
273273
.make_new = file_obj_make_new,
274274
.locals_dict = (mp_obj_dict_t *)&vfs_fat_rawfile_locals_dict,
275-
EXTENDED_FIELDS(
275+
MP_TYPE_EXTENDED_FIELDS(
276276
.getiter = mp_identity_getiter,
277277
.iternext = mp_stream_unbuffered_iter,
278278
.protocol = &vfs_fat_textio_stream_p,

extmod/vfs_lfsx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ const mp_obj_type_t MP_TYPE_VFS_LFSx = {
492492
#endif
493493
.make_new = MP_VFS_LFSx(make_new),
494494
.locals_dict = (mp_obj_dict_t *)&MP_VFS_LFSx(locals_dict),
495-
EXTENDED_FIELDS(
495+
MP_TYPE_EXTENDED_FIELDS(
496496
.protocol = &MP_VFS_LFSx(proto),
497497
),
498498
};

extmod/vfs_lfsx_file.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const mp_obj_type_t MP_TYPE_VFS_LFSx_(_fileio) = {
230230
.name = MP_QSTR_FileIO,
231231
.print = MP_VFS_LFSx(file_print),
232232
.locals_dict = (mp_obj_dict_t *)&MP_VFS_LFSx(file_locals_dict),
233-
EXTENDED_FIELDS(
233+
MP_TYPE_EXTENDED_FIELDS(
234234
.getiter = mp_identity_getiter,
235235
.iternext = mp_stream_unbuffered_iter,
236236
.protocol = &MP_VFS_LFSx(fileio_stream_p),
@@ -252,7 +252,7 @@ const mp_obj_type_t MP_TYPE_VFS_LFSx_(_textio) = {
252252
.name = MP_QSTR_TextIOWrapper,
253253
.print = MP_VFS_LFSx(file_print),
254254
.locals_dict = (mp_obj_dict_t *)&MP_VFS_LFSx(file_locals_dict),
255-
EXTENDED_FIELDS(
255+
MP_TYPE_EXTENDED_FIELDS(
256256
.getiter = mp_identity_getiter,
257257
.iternext = mp_stream_unbuffered_iter,
258258
.protocol = &MP_VFS_LFSx(textio_stream_p),

0 commit comments

Comments
 (0)