[ruamoko] Correct signatures of strtol and strtoul

I had forgotten the base parameter in the ruamoko definitions (verified
there in the C wrapper).
This commit is contained in:
Bill Currie 2023-05-29 15:12:20 +09:00
parent 681629a5d1
commit 6bd9aceb28
2 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ string str_lower (string str);
string str_upper (string str);
double strtod (string str, int *end);
float strtof (string str, int *end);
long strtol (string str, int *end);
unsigned long strtoul (string str, int *end);
long strtol (string str, int *end, int base);
unsigned long strtoul (string str, int *end, int base);
#endif//__ruamoko_string_h

View file

@ -21,5 +21,5 @@ string str_lower (string str) = #0;
string str_upper (string str) = #0;
double strtod (string str, int *end) = #0;
float strtof (string str, int *end) = #0;
long strtol (string str, int *end) = #0;
unsigned long strtoul (string str, int *end) = #0;
long strtol (string str, int *end, int base) = #0;
unsigned long strtoul (string str, int *end, int base) = #0;