py: Put number parsing code together in parsenum.c.

This commit is contained in:
Damien George
2014-02-22 18:12:43 +00:00
parent 2613ffde43
commit 2077397118
9 changed files with 187 additions and 170 deletions

2
py/parsenum.h Normal file
View File

@@ -0,0 +1,2 @@
mp_obj_t mp_parse_num_integer(const char *restrict str, uint len, int base);
mp_obj_t mp_parse_num_decimal(const char *str, uint len);