diff options
| author | Roy Hooper <rhooper@toybox.ca> | 2019-11-23 12:09:26 -0500 |
|---|---|---|
| committer | Roy Hooper <rhooper@toybox.ca> | 2019-11-23 12:09:26 -0500 |
| commit | c770ccd93917cf46a7b8cef7613ff389d7c3d18d (patch) | |
| tree | e063f44fe16ce0d7411511f55bdea48d97e84420 /extmod/moductypes.c | |
| parent | fa57de06886f3ec6785ec74676da0b08758c81c7 (diff) | |
make ->subscr take an instance to pass when instance_subscr is called from subscr.
Diffstat (limited to 'extmod/moductypes.c')
| -rw-r--r-- | extmod/moductypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moductypes.c b/extmod/moductypes.c index 9eea30bf3..2165152ea 100644 --- a/extmod/moductypes.c +++ b/extmod/moductypes.c @@ -518,7 +518,7 @@ STATIC void uctypes_struct_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { } } -STATIC mp_obj_t uctypes_struct_subscr(mp_obj_t self_in, mp_obj_t index_in, mp_obj_t value) { +STATIC mp_obj_t uctypes_struct_subscr(mp_obj_t self_in, mp_obj_t index_in, mp_obj_t value, mp_obj_t instance) { mp_obj_uctypes_struct_t *self = MP_OBJ_TO_PTR(self_in); if (value == MP_OBJ_NULL) { |
