summaryrefslogtreecommitdiff
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-16 20:39:12 +0100
committerDamien <damien.p.george@gmail.com>2013-10-16 20:39:12 +0100
commitbd25445a82c896752dd735f54e3495f0e5e7350a (patch)
treeaf9cf6cd95b739c94c227b7c1877977d9448035f /py/runtime.h
parentc226dca1f712914f63ead99fbf4f451aaba90d24 (diff)
Implement BC & runtime support for generator/yielding.
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 e9adbe1f0..7a806eb55 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -87,7 +87,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();
-void rt_assign_byte_code(int unique_code_id, byte *code, uint len, int n_args);
+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);
py_fun_t rt_get_code(qstr id);