summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-16 18:30:49 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-02-16 18:36:33 +0200
commitac2e28c6547f34d961e8b0a0ede323c9c32b5315 (patch)
tree9b6cce27c5f65d5c80ff04de9b9f9743e82e6c38 /py/runtime0.h
parent44739e280e81c2ebf2491818eb5a6d0ef30c7c6b (diff)
downloadmicropython-ac2e28c6547f34d961e8b0a0ede323c9c32b5315.tar.gz
micropython-ac2e28c6547f34d961e8b0a0ede323c9c32b5315.zip
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.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h2
1 files changed, 1 insertions, 1 deletions
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);