From cd82e02e84df5f9f2f3082d865beae25217af2a1 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 2 Feb 2014 13:11:48 +0000 Subject: 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. --- py/runtime.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/runtime.h') 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); -- cgit v1.2.3