diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-01 17:51:47 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-01 17:51:47 +0000 |
commit | 87413a4d0c579ec491cf52ab8d6520430df64c7d (patch) | |
tree | c19abcbf9275c5debd4436ed5146a4aab1ad4c7d /py/obj.h | |
parent | 382b3d00ed9a2f31dcedbf65ce82cbada9b6dbdf (diff) | |
parent | 90750029df8d7fd24600cc4fe4c98a5b80731f28 (diff) |
Merge branch 'fun-defargs' of github.com:pfalcon/micropython into pfalcon-fun-defargs
Diffstat (limited to 'py/obj.h')
-rw-r--r-- | py/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ mp_obj_t mp_obj_new_exception_msg_2_args(qstr id, const char *fmt, const char *a mp_obj_t mp_obj_new_exception_msg_varg(qstr id, const char *fmt, ...); // counts args by number of % symbols in fmt, excluding %%; can only handle void* sizes (ie no float/double!) mp_obj_t mp_obj_new_range(int start, int stop, int step); mp_obj_t mp_obj_new_range_iterator(int cur, int stop, int step); -mp_obj_t mp_obj_new_fun_bc(int n_args, uint n_state, const byte *code); +mp_obj_t mp_obj_new_fun_bc(int n_args, mp_obj_t def_args, uint n_state, const byte *code); mp_obj_t mp_obj_new_fun_asm(uint n_args, void *fun); mp_obj_t mp_obj_new_gen_wrap(mp_obj_t fun); mp_obj_t mp_obj_new_gen_instance(const byte *bytecode, uint n_state, int n_args, const mp_obj_t *args); |