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/objint_longlong.c | |
parent | 36db6bcf54fd32a247c85719832a9cf43e124ab5 (diff) |
py: Improve native emitter; now supports more opcodes.
Diffstat (limited to 'py/objint_longlong.c')
-rw-r--r-- | py/objint_longlong.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/objint_longlong.c b/py/objint_longlong.c index d00bb6db3..f648615a7 100644 --- a/py/objint_longlong.c +++ b/py/objint_longlong.c @@ -161,7 +161,8 @@ mp_obj_t mp_obj_new_int_from_ll(long long val) { return o; } -mp_obj_t mp_obj_new_int_from_long_str(const char *s) { +mp_obj_t mp_obj_new_int_from_qstr(qstr qst) { + const char *s = qstr_str(qst); long long v; char *end; // TODO: this doesn't handle Python hacked 0o octal syntax |