py/obj.h: Introduce a "flags" entry in mp_obj_type_t.
This commit is contained in:
parent
b789c640f7
commit
db5d8c97f1
7
py/obj.h
7
py/obj.h
@ -455,8 +455,11 @@ struct _mp_obj_type_t {
|
||||
// A type is an object so must start with this entry, which points to mp_type_type.
|
||||
mp_obj_base_t base;
|
||||
|
||||
// The name of this type.
|
||||
qstr name;
|
||||
// Flags associated with this type.
|
||||
uint16_t flags;
|
||||
|
||||
// The name of this type, a qstr.
|
||||
uint16_t name;
|
||||
|
||||
// Corresponds to __repr__ and __str__ special methods.
|
||||
mp_print_fun_t print;
|
||||
|
Loading…
Reference in New Issue
Block a user