summaryrefslogtreecommitdiff
path: root/py/objtuple.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-17 22:10:53 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-17 22:10:53 +0100
commit729f7b42d65c016c9d5f27fb8a8122869f06c129 (patch)
tree8d8d8c2a89ff9011b06650c256a2d5f2458c930c /py/objtuple.h
parentde7c425139c92745280b62f7ebb756def96d072a (diff)
py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr.
mp_obj_t->subscr now does load/store/delete.
Diffstat (limited to 'py/objtuple.h')
-rw-r--r--py/objtuple.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objtuple.h b/py/objtuple.h
index c310bfb7d..b77bff4fa 100644
--- a/py/objtuple.h
+++ b/py/objtuple.h
@@ -7,3 +7,4 @@ typedef struct _mp_obj_tuple_t {
void tuple_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind);
mp_obj_t tuple_unary_op(int op, mp_obj_t self_in);
mp_obj_t tuple_binary_op(int op, mp_obj_t lhs, mp_obj_t rhs);
+mp_obj_t tuple_subscr(mp_obj_t base, mp_obj_t index, mp_obj_t value);