diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-07 18:30:52 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-07 18:30:52 +0100 |
commit | a32c1e41cc28c5f7cd95191918cebd0e447a2fce (patch) | |
tree | cc6a7b0c47d4ad2e96c8142a73a6eaaf77f6fa34 /py/obj.h | |
parent | 36db6bcf54fd32a247c85719832a9cf43e124ab5 (diff) | |
download | micropython-a32c1e41cc28c5f7cd95191918cebd0e447a2fce.tar.gz micropython-a32c1e41cc28c5f7cd95191918cebd0e447a2fce.zip |
py: Improve native emitter; now supports more opcodes.
Diffstat (limited to 'py/obj.h')
-rw-r--r-- | py/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |