summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-21 23:30:10 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-21 23:59:50 +0200
commit33996685dff97fc070a19d6f30dc61019b26016d (patch)
tree32a4efb2904bd1782759536786eb3e76c9c87cea /py/obj.h
parent12eaccacda83a15500dae4616b3c37deecb57182 (diff)
Add len() support for arrays.
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 c2ce32588..e98cc552e 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -334,6 +334,7 @@ extern const mp_obj_type_t zip_type;
// array
extern const mp_obj_type_t array_type;
+uint mp_obj_array_len(mp_obj_t self_in);
// functions
typedef struct _mp_obj_fun_native_t { // need this so we can define const objects (to go in ROM)