1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Rename String bin_to_int64 to bin_to_int

And also change String static to_int(const char *) to return int64_t
This commit is contained in:
Aaron Franke
2020-06-03 00:04:04 -04:00
parent e5ae89775a
commit 25c978730b
3 changed files with 8 additions and 8 deletions

View File

@@ -955,7 +955,7 @@ void GDScriptTokenizerText::_advance() {
int64_t val = str.hex_to_int();
_make_constant(val);
} else if (bin_found) {
int64_t val = str.bin_to_int64();
int64_t val = str.bin_to_int();
_make_constant(val);
} else if (period_found || exponent_found) {
double val = str.to_double();