summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-05 13:25:13 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-05 13:25:13 +0100
commit66edc5d8991cfc9d01552d4a7502fa2e85107cf8 (patch)
tree3287d9d1a5702a6272d927d9784ddacbd7045d59 /py/runtime.h
parent3c8aecf62cc7a96a4371972b83c22ea54f5e16db (diff)
downloadmicropython-66edc5d8991cfc9d01552d4a7502fa2e85107cf8.tar.gz
micropython-66edc5d8991cfc9d01552d4a7502fa2e85107cf8.zip
py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h
index b233d23b4a..d8c43b6982 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -49,6 +49,7 @@ void mp_load_method(mp_obj_t base, qstr attr, mp_obj_t *dest);
void mp_load_method_maybe(mp_obj_t base, qstr attr, mp_obj_t *dest);
void mp_store_attr(mp_obj_t base, qstr attr, mp_obj_t val);
void mp_store_subscr(mp_obj_t base, mp_obj_t index, mp_obj_t val);
+void mp_delete_subscr(mp_obj_t base, mp_obj_t index);
mp_obj_t mp_getiter(mp_obj_t o);
mp_obj_t mp_iternext_allow_raise(mp_obj_t o); // may return MP_OBJ_NULL instead of raising StopIteration()