From ac2e28c6547f34d961e8b0a0ede323c9c32b5315 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 16 Feb 2014 18:30:49 +0200 Subject: Support passing positional args as keywords to bytecode functions. For this, record argument names along with each bytecode function. The code still includes extensive debug logging support so far. --- py/runtime0.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/runtime0.h') diff --git a/py/runtime0.h b/py/runtime0.h index ca88fc13b1..07fcf0705e 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -97,6 +97,6 @@ extern void *const rt_fun_table[RT_F_NUMBER_OF]; void rt_init(void); void rt_deinit(void); uint rt_get_unique_code_id(void); -void rt_assign_byte_code(uint unique_code_id, byte *code, uint len, int n_args, int n_locals, int n_stack, uint scope_flags); +void rt_assign_byte_code(uint unique_code_id, byte *code, uint len, int n_args, int n_locals, int n_stack, uint scope_flags, qstr *arg_names); void rt_assign_native_code(uint unique_code_id, void *f, uint len, int n_args); void rt_assign_inline_asm_code(uint unique_code_id, void *f, uint len, int n_args); -- cgit v1.2.3