diff options
author | Damien George <damien.p.george@gmail.com> | 2019-11-26 21:36:41 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-11-26 21:36:41 +1100 |
commit | 01e5802ee39d8c5c18b2f24291776b6e9128d077 (patch) | |
tree | 25eb2c2d94ea715e054c9514ac2c96b0aa4f8dcd /py | |
parent | 797c2e8fc23ceeb9d6ce5079e2f82ee7b3431bee (diff) |
py: Remove 3 obsolete commented-out lines from header files.
Diffstat (limited to 'py')
-rw-r--r-- | py/lexer.h | 2 | ||||
-rw-r--r-- | py/obj.h | 1 | ||||
-rw-r--r-- | py/runtime.h | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/py/lexer.h b/py/lexer.h index 34126a08f..b9f97013a 100644 --- a/py/lexer.h +++ b/py/lexer.h @@ -184,8 +184,6 @@ void mp_lexer_to_next(mp_lexer_t *lex); // platform specific import function; must be implemented for a specific port // TODO tidy up, rename, or put elsewhere -//mp_lexer_t *mp_import_open_file(qstr mod_name); - typedef enum { MP_IMPORT_STAT_NO_EXIST, MP_IMPORT_STAT_DIR, @@ -691,7 +691,6 @@ mp_float_t mp_obj_get_float(mp_obj_t self_in); bool mp_obj_get_float_maybe(mp_obj_t arg, mp_float_t *value); void mp_obj_get_complex(mp_obj_t self_in, mp_float_t *real, mp_float_t *imag); #endif -//qstr mp_obj_get_qstr(mp_obj_t arg); void mp_obj_get_array(mp_obj_t o, size_t *len, mp_obj_t **items); // *items may point inside a GC block void mp_obj_get_array_fixed_n(mp_obj_t o, size_t len, mp_obj_t **items); // *items may point inside a GC block size_t mp_get_index(const mp_obj_type_t *type, size_t len, mp_obj_t index, bool is_slice); diff --git a/py/runtime.h b/py/runtime.h index 1ac383ca7..b54b17b68 100644 --- a/py/runtime.h +++ b/py/runtime.h @@ -151,7 +151,6 @@ mp_obj_t mp_import_from(mp_obj_t module, qstr name); void mp_import_all(mp_obj_t module); NORETURN void mp_raise_msg(const mp_obj_type_t *exc_type, const char *msg); -//NORETURN void nlr_raise_msg_varg(const mp_obj_type_t *exc_type, const char *fmt, ...); NORETURN void mp_raise_ValueError(const char *msg); NORETURN void mp_raise_TypeError(const char *msg); NORETURN void mp_raise_NotImplementedError(const char *msg); |