summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-22 21:31:28 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-22 21:31:28 +0000
commit3ec0a1a32dcda730fa3745f30e97565200f593e8 (patch)
tree520dc05caa882fe824e54b2c4c4a32cb3f037661 /py/obj.h
parenteabdf6718a8d9d10c810b8cd440b82a11d517205 (diff)
downloadmicropython-3ec0a1a32dcda730fa3745f30e97565200f593e8.tar.gz
micropython-3ec0a1a32dcda730fa3745f30e97565200f593e8.zip
py: Add 'object' object.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index ec343fddae..f80bd43523 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -315,6 +315,9 @@ 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, bool is_slice);
mp_obj_t mp_obj_len_maybe(mp_obj_t o_in); /* may return NULL */
+// object
+extern const mp_obj_type_t mp_type_object;
+
// none
extern const mp_obj_type_t none_type;