summaryrefslogtreecommitdiffstatshomepage
path: root/py/parsenum.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/parsenum.h')
-rw-r--r--py/parsenum.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/py/parsenum.h b/py/parsenum.h
index 26aac49bcf..f140cfc85e 100644
--- a/py/parsenum.h
+++ b/py/parsenum.h
@@ -30,10 +30,8 @@
#include "py/lexer.h"
#include "py/obj.h"
-mp_uint_t mp_parse_num_base(const char *str, mp_uint_t len, mp_uint_t *base);
-
// these functions raise a SyntaxError if lex!=NULL, else a ValueError
-mp_obj_t mp_parse_num_integer(const char *restrict str, mp_uint_t len, mp_uint_t base, mp_lexer_t *lex);
-mp_obj_t mp_parse_num_decimal(const char *str, mp_uint_t len, bool allow_imag, bool force_complex, mp_lexer_t *lex);
+mp_obj_t mp_parse_num_integer(const char *restrict str, size_t len, int base, mp_lexer_t *lex);
+mp_obj_t mp_parse_num_decimal(const char *str, size_t len, bool allow_imag, bool force_complex, mp_lexer_t *lex);
#endif // __MICROPY_INCLUDED_PY_PARSENUM_H__