diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-03 14:03:48 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-03 14:03:48 +0000 |
commit | 66028ab6dcd1b2ec9504c3473d817649935a4a1e (patch) | |
tree | c441ee4d665b3218e235dec24dd5a66a6fe050ef /py/map.h | |
parent | aae7847508e2a9555ad3276c5cd4f42b2e66686c (diff) | |
download | micropython-66028ab6dcd1b2ec9504c3473d817649935a4a1e.tar.gz micropython-66028ab6dcd1b2ec9504c3473d817649935a4a1e.zip |
Basic implementation of import.
import works for simple cases. Still work to do on finding the right
script, and setting globals/locals correctly when running an imported
function.
Diffstat (limited to 'py/map.h')
-rw-r--r-- | py/map.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -23,10 +23,6 @@ typedef struct _mp_set_t { mp_obj_t *table; } mp_set_t; -// these are defined in runtime.c -mp_map_t *rt_get_map_locals(void); -void rt_set_map_locals(mp_map_t *m); - int get_doubling_prime_greater_or_equal_to(int x); void mp_map_init(mp_map_t *map, mp_map_kind_t kind, int n); mp_map_t *mp_map_new(mp_map_kind_t kind, int n); |