You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Rename File::get_len() get_length()
This commit is contained in:
@@ -58,7 +58,7 @@ int64_t GDAPI godot_videodecoder_file_seek(void *ptr, int64_t pos, int whence) {
|
||||
FileAccess *file = reinterpret_cast<FileAccess *>(ptr);
|
||||
|
||||
if (file) {
|
||||
int64_t len = file->get_len();
|
||||
int64_t len = file->get_length();
|
||||
switch (whence) {
|
||||
case SEEK_SET: {
|
||||
if (pos > len) {
|
||||
|
||||
Reference in New Issue
Block a user