summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-18 19:58:12 +0100
committerDamien <damien.p.george@gmail.com>2013-10-18 19:58:12 +0100
commit5ac1b2efbd5dfb2a62fe984dc9dc8a7127fb5e82 (patch)
treea00fad2e39bc0d3604dc91cbd21910c6800d3e14 /py/runtime.h
parent7bbd1106915b481816fe5baa72ce7c6068c7386a (diff)
downloadmicropython-5ac1b2efbd5dfb2a62fe984dc9dc8a7127fb5e82.tar.gz
micropython-5ac1b2efbd5dfb2a62fe984dc9dc8a7127fb5e82.zip
Implement REPL.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.h b/py/runtime.h
index 8d68adccf5..e676f14c08 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -91,7 +91,7 @@ extern py_obj_t py_const_stop_iteration; // special object indicating end of ite
void rt_init();
void rt_deinit();
-int rt_get_new_unique_code_id();
+int rt_get_unique_code_id(bool is_main_module);
void rt_assign_byte_code(int unique_code_id, byte *code, uint len, int n_args, int n_locals, int n_stack, bool is_generator);
void rt_assign_native_code(int unique_code_id, py_fun_t f, uint len, int n_args);
void rt_assign_inline_asm_code(int unique_code_id, py_fun_t f, uint len, int n_args);