summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-01 17:51:47 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-01 17:51:47 +0000
commit87413a4d0c579ec491cf52ab8d6520430df64c7d (patch)
treec19abcbf9275c5debd4436ed5146a4aab1ad4c7d /py/obj.h
parent382b3d00ed9a2f31dcedbf65ce82cbada9b6dbdf (diff)
parent90750029df8d7fd24600cc4fe4c98a5b80731f28 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/obj.h b/py/obj.h
index 56e4d96df..0680e6fb1 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -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);