mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
Convert many object types structs to use C99 tagged initializer syntax.
This commit is contained in:
@@ -64,7 +64,7 @@ const mp_obj_type_t set_type = {
|
||||
NULL, // binary_op
|
||||
NULL, // getiter
|
||||
NULL, // iternext
|
||||
{ { NULL, NULL }, }, // method list
|
||||
.methods = { { NULL, NULL }, },
|
||||
};
|
||||
|
||||
mp_obj_t mp_obj_new_set(int n_args, mp_obj_t *items) {
|
||||
|
||||
Reference in New Issue
Block a user