summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-10 11:25:03 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-10 11:25:03 +0000
commit4bee76ebca8d0507da6a957cf9e1eaf29fdcc7b1 (patch)
tree86713e093aed710579e290bcab9813bbf0d9c9af /py/obj.h
parentab04f5804f72181076af4e61fe9377a7e2dbafa1 (diff)
downloadmicropython-4bee76ebca8d0507da6a957cf9e1eaf29fdcc7b1.tar.gz
micropython-4bee76ebca8d0507da6a957cf9e1eaf29fdcc7b1.zip
Added dict.fromkeys. Are we done with dict and #99 yet? I do think we are.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index 48080a0ec0..d897d906d9 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -234,6 +234,7 @@ void mp_obj_get_complex(mp_obj_t self_in, mp_float_t *real, mp_float_t *imag);
qstr mp_obj_get_qstr(mp_obj_t arg);
mp_obj_t *mp_obj_get_array_fixed_n(mp_obj_t o, machine_int_t n);
uint mp_get_index(const mp_obj_type_t *type, machine_uint_t len, mp_obj_t index);
+mp_obj_t mp_obj_len_maybe(mp_obj_t o_in); /* may return NULL */
// none
extern const mp_obj_type_t none_type;