summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-10 21:36:33 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-05-10 21:36:33 +0300
commitd915a52eb650a0809e15e6be25e58a3db7e73025 (patch)
tree7889f6acd249db1edfb674a217b225b11d778aa9 /py/runtime.c
parentaa4d19a05cdcdb4523c1a795e80a1e842e8f9a97 (diff)
py: Fix prefix on few sequence helpers, was incorrectly "mp_".
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/runtime.c b/py/runtime.c
index f8eac4060..1479d8cba 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -578,7 +578,7 @@ mp_obj_t mp_call_method_n_kw_var(bool have_self, uint n_args_n_kw, const mp_obj_
}
// copy the fixed pos args
- m_seq_copy(args2 + args2_len, args, n_args, mp_obj_t);
+ mp_seq_copy(args2 + args2_len, args, n_args, mp_obj_t);
args2_len += n_args;
} else if (MP_OBJ_IS_TYPE(pos_seq, &mp_type_tuple) || MP_OBJ_IS_TYPE(pos_seq, &mp_type_list)) {
@@ -599,7 +599,7 @@ mp_obj_t mp_call_method_n_kw_var(bool have_self, uint n_args_n_kw, const mp_obj_
}
// copy the fixed and variable position args
- m_seq_cat(args2 + args2_len, args, n_args, items, len, mp_obj_t);
+ mp_seq_cat(args2 + args2_len, args, n_args, items, len, mp_obj_t);
args2_len += n_args + len;
} else {
@@ -615,7 +615,7 @@ mp_obj_t mp_call_method_n_kw_var(bool have_self, uint n_args_n_kw, const mp_obj_
}
// copy the fixed position args
- m_seq_copy(args2 + args2_len, args, n_args, mp_obj_t);
+ mp_seq_copy(args2 + args2_len, args, n_args, mp_obj_t);
// extract the variable position args from the iterator
mp_obj_t iterable = mp_getiter(pos_seq);
@@ -633,7 +633,7 @@ mp_obj_t mp_call_method_n_kw_var(bool have_self, uint n_args_n_kw, const mp_obj_
uint pos_args_len = args2_len;
// Copy the fixed kw args.
- m_seq_copy(args2 + args2_len, args + n_args, 2 * n_kw, mp_obj_t);
+ mp_seq_copy(args2 + args2_len, args + n_args, 2 * n_kw, mp_obj_t);
args2_len += 2 * n_kw;
// Extract (key,value) pairs from kw_dict dictionary and append to args2.