From a32c1e41cc28c5f7cd95191918cebd0e447a2fce Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 7 May 2014 18:30:52 +0100 Subject: py: Improve native emitter; now supports more opcodes. --- py/obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/obj.h') diff --git a/py/obj.h b/py/obj.h index 70651f97c7..4797856ad8 100644 --- a/py/obj.h +++ b/py/obj.h @@ -370,7 +370,7 @@ mp_obj_t mp_obj_new_bool(bool value); mp_obj_t mp_obj_new_cell(mp_obj_t obj); mp_obj_t mp_obj_new_int(machine_int_t value); mp_obj_t mp_obj_new_int_from_uint(machine_uint_t value); -mp_obj_t mp_obj_new_int_from_long_str(const char *s); +mp_obj_t mp_obj_new_int_from_qstr(qstr qst); mp_obj_t mp_obj_new_int_from_ll(long long val); // this must return a multi-precision integer object (or raise an overflow exception) mp_obj_t mp_obj_new_str(const byte* data, uint len, bool make_qstr_if_not_already); mp_obj_t mp_obj_new_bytes(const byte* data, uint len); -- cgit v1.2.3