1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +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

@@ -1045,7 +1045,7 @@ Error GDScript::load_source_code(const String &p_path) {
ERR_FAIL_COND_V(err, err);
}
uint64_t len = f->get_len();
uint64_t len = f->get_length();
sourcef.resize(len + 1);
uint8_t *w = sourcef.ptrw();
uint64_t r = f->get_buffer(w, len);