summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-30 13:54:02 +0100
committerDamien George <damien.p.george@gmail.com>2014-03-30 13:54:02 +0100
commitdf6567e6345c763182fa237a4497ab94ee6ffc20 (patch)
tree402a2bde9d55a10c204f8d766bda228b4f02b74a /py/runtime.h
parentd17926db710189db97a49e9b2e72d782fc404231 (diff)
downloadmicropython-df6567e6345c763182fa237a4497ab94ee6ffc20.tar.gz
micropython-df6567e6345c763182fa237a4497ab94ee6ffc20.zip
Merge map.h into obj.h.
Pretty much everyone needs to include map.h, since it's such an integral part of the Micro Python object implementation. Thus, the definitions are now in obj.h instead. map.h is removed.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/py/runtime.h b/py/runtime.h
index 1934ccd1e4..b3d70d939c 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -3,10 +3,10 @@ void mp_deinit(void);
void mp_check_nargs(int n_args, machine_uint_t n_args_min, machine_uint_t n_args_max, int n_kw, bool is_kw);
-struct _mp_map_t *mp_locals_get(void);
-void mp_locals_set(struct _mp_map_t *m);
-struct _mp_map_t *mp_globals_get(void);
-void mp_globals_set(struct _mp_map_t *m);
+mp_map_t *mp_locals_get(void);
+void mp_locals_set(mp_map_t *m);
+mp_map_t *mp_globals_get(void);
+void mp_globals_set(mp_map_t *m);
mp_obj_t mp_load_name(qstr qstr);
mp_obj_t mp_load_global(qstr qstr);
@@ -58,7 +58,7 @@ mp_obj_t mp_iternext(mp_obj_t o); // will always return MP_OBJ_NULL instead of r
mp_obj_t mp_make_raise_obj(mp_obj_t o);
extern mp_obj_t mp_sys_path;
-struct _mp_map_t *mp_loaded_modules_get(void);
+mp_map_t *mp_loaded_modules_get(void);
mp_obj_t mp_import_name(qstr name, mp_obj_t fromlist, mp_obj_t level);
mp_obj_t mp_import_from(mp_obj_t module, qstr name);
void mp_import_all(mp_obj_t module);