mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
Convert many object types structs to use C99 tagged initializer syntax.
This commit is contained in:
@@ -31,7 +31,7 @@ const mp_obj_type_t module_type = {
|
||||
NULL, // binary_op
|
||||
NULL, // getiter
|
||||
NULL, // iternext
|
||||
{{NULL, NULL},}, // method list
|
||||
.methods = {{NULL, NULL},},
|
||||
};
|
||||
|
||||
mp_obj_t mp_obj_new_module(qstr module_name) {
|
||||
|
||||
Reference in New Issue
Block a user