From bd25445a82c896752dd735f54e3495f0e5e7350a Mon Sep 17 00:00:00 2001 From: Damien Date: Wed, 16 Oct 2013 20:39:12 +0100 Subject: Implement BC & runtime support for generator/yielding. --- py/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/runtime.h') 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); -- cgit v1.2.3