diff options
author | George Marques <george@gmarqu.es> | 2016-07-14 14:23:22 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-07-14 14:23:22 -0300 |
commit | 9a931e333c5e3fe9e455500319d861e1bd1386cd (patch) | |
tree | 2bdc8903f7eca34945cdc6b955c4c828dac879f6 /core/bind/core_bind.cpp | |
parent | 98eec177ae3fbdfc2222844ba5b53fd9c8c45f60 (diff) |
Fix binding of File::get_sha256()
Fix #5698
Diffstat (limited to 'core/bind/core_bind.cpp')
-rw-r--r-- | core/bind/core_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index 6edc292b62..9df31124f8 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1802,7 +1802,7 @@ void _File::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_line"),&_File::get_line); ObjectTypeDB::bind_method(_MD("get_as_text"),&_File::get_as_text); ObjectTypeDB::bind_method(_MD("get_md5","path"),&_File::get_md5); - ObjectTypeDB::bind_method(_MD("get_sha256","path"),&_File::get_md5); + ObjectTypeDB::bind_method(_MD("get_sha256","path"),&_File::get_sha256); ObjectTypeDB::bind_method(_MD("get_endian_swap"),&_File::get_endian_swap); ObjectTypeDB::bind_method(_MD("set_endian_swap","enable"),&_File::set_endian_swap); ObjectTypeDB::bind_method(_MD("get_error:Error"),&_File::get_error); |