mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 10:23:53 +00:00
Remove unimplemented OS.dump_memory_to_file() method
This method never did anything in Godot since 3.0, since its code was commented out. The last time the method had an implementation was in Godot 2.1.x.
This commit is contained in:
@@ -436,10 +436,6 @@ bool OS::is_stdout_verbose() const {
|
||||
return ::OS::get_singleton()->is_stdout_verbose();
|
||||
}
|
||||
|
||||
void OS::dump_memory_to_file(const String &p_file) {
|
||||
::OS::get_singleton()->dump_memory_to_file(p_file.utf8().get_data());
|
||||
}
|
||||
|
||||
struct OSCoreBindImg {
|
||||
String path;
|
||||
Size2 size;
|
||||
@@ -666,7 +662,6 @@ void OS::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("is_debug_build"), &OS::is_debug_build);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("dump_memory_to_file", "file"), &OS::dump_memory_to_file);
|
||||
ClassDB::bind_method(D_METHOD("dump_resources_to_file", "file"), &OS::dump_resources_to_file);
|
||||
ClassDB::bind_method(D_METHOD("print_resources_in_use", "short"), &OS::print_resources_in_use, DEFVAL(false));
|
||||
ClassDB::bind_method(D_METHOD("print_all_resources", "tofile"), &OS::print_all_resources, DEFVAL(""));
|
||||
|
||||
Reference in New Issue
Block a user