diff options
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/py/runtime.c b/py/runtime.c index 080d061cd1..75dd467507 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -103,20 +103,6 @@ void mp_deinit(void) { #endif } -mp_obj_t mp_load_const_int(qstr qst) { - DEBUG_OP_printf("load '%s'\n", qstr_str(qst)); - mp_uint_t len; - const byte* data = qstr_data(qst, &len); - return mp_parse_num_integer((const char*)data, len, 0); -} - -mp_obj_t mp_load_const_dec(qstr qst) { - DEBUG_OP_printf("load '%s'\n", qstr_str(qst)); - mp_uint_t len; - const byte* data = qstr_data(qst, &len); - return mp_parse_num_decimal((const char*)data, len, true, false); -} - mp_obj_t mp_load_const_str(qstr qst) { DEBUG_OP_printf("load '%s'\n", qstr_str(qst)); return MP_OBJ_NEW_QSTR(qst); |