summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-02 13:11:48 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-02 13:11:48 +0000
commitcd82e02e84df5f9f2f3082d865beae25217af2a1 (patch)
tree84f4e30347538847f33231a44f094bdae7fb52d9 /py/runtime.h
parent48697f1dd2fbf45fda6de4277de976c23e7d8302 (diff)
downloadmicropython-cd82e02e84df5f9f2f3082d865beae25217af2a1.tar.gz
micropython-cd82e02e84df5f9f2f3082d865beae25217af2a1.zip
py: Partially fix native emitter to work with latest runtime.
Native emitter has been broken since stack order has changed from reverse to standard. This fix gets it partially working.
Diffstat (limited to 'py/runtime.h')
-rw-r--r--py/runtime.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h
index 10c262a606..aafe1a06a3 100644
--- a/py/runtime.h
+++ b/py/runtime.h
@@ -20,6 +20,7 @@ mp_obj_t rt_make_closure_from_id(int unique_code_id, mp_obj_t closure_tuple);
mp_obj_t rt_call_function_0(mp_obj_t fun);
mp_obj_t rt_call_function_1(mp_obj_t fun, mp_obj_t arg);
mp_obj_t rt_call_function_2(mp_obj_t fun, mp_obj_t arg1, mp_obj_t arg2);
+mp_obj_t rt_call_function_n_kw_for_native(mp_obj_t fun_in, uint n_args_kw, const mp_obj_t *args);
mp_obj_t rt_call_function_n_kw(mp_obj_t fun, uint n_args, uint n_kw, const mp_obj_t *args);
mp_obj_t rt_call_method_n_kw(uint n_args, uint n_kw, const mp_obj_t *args);
mp_obj_t rt_build_tuple(int n_args, mp_obj_t *items);