|
|
@ -113,7 +113,7 @@ void mp_emit_glue_assign_native(mp_raw_code_t *rc, mp_raw_code_kind_t kind, void |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
mp_obj_t mp_make_function_from_raw_code(mp_raw_code_t *rc, mp_obj_t def_args, mp_obj_t def_kw_args) { |
|
|
|
mp_obj_t mp_make_function_from_raw_code(const mp_raw_code_t *rc, mp_obj_t def_args, mp_obj_t def_kw_args) { |
|
|
|
DEBUG_OP_printf("make_function_from_raw_code %p\n", rc); |
|
|
|
assert(rc != NULL); |
|
|
|
|
|
|
@ -157,7 +157,7 @@ mp_obj_t mp_make_function_from_raw_code(mp_raw_code_t *rc, mp_obj_t def_args, mp |
|
|
|
return fun; |
|
|
|
} |
|
|
|
|
|
|
|
mp_obj_t mp_make_closure_from_raw_code(mp_raw_code_t *rc, mp_uint_t n_closed_over, const mp_obj_t *args) { |
|
|
|
mp_obj_t mp_make_closure_from_raw_code(const mp_raw_code_t *rc, mp_uint_t n_closed_over, const mp_obj_t *args) { |
|
|
|
DEBUG_OP_printf("make_closure_from_raw_code %p " UINT_FMT " %p\n", rc, n_closed_over, args); |
|
|
|
// make function object
|
|
|
|
mp_obj_t ffun; |
|
|
|