1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Rename File::get_len() get_length()

This commit is contained in:
Marcel Admiraal
2021-05-25 07:58:49 +01:00
parent 313e1f62bb
commit da5d7db610
59 changed files with 101 additions and 101 deletions

View File

@@ -153,7 +153,7 @@ String GDScriptCache::get_source_code(const String &p_path) {
ERR_FAIL_COND_V(err, "");
}
uint64_t len = f->get_len();
uint64_t len = f->get_length();
source_file.resize(len + 1);
uint64_t r = f->get_buffer(source_file.ptrw(), len);
f->close();