mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Replace Array return types with TypedArray
This commit is contained in:
parent
b9ea0e1338
commit
8be27dc59e
110 changed files with 298 additions and 272 deletions
|
@ -82,8 +82,8 @@ void EditorVCSInterface::_unstage_file(String p_file_path) {
|
|||
void EditorVCSInterface::_commit(String p_msg) {
|
||||
}
|
||||
|
||||
Array EditorVCSInterface::_get_file_diff(String p_file_path) {
|
||||
return Array();
|
||||
TypedArray<Dictionary> EditorVCSInterface::_get_file_diff(String p_file_path) {
|
||||
return TypedArray<Dictionary>();
|
||||
}
|
||||
|
||||
bool EditorVCSInterface::_shut_down() {
|
||||
|
@ -133,11 +133,11 @@ void EditorVCSInterface::commit(String p_msg) {
|
|||
}
|
||||
}
|
||||
|
||||
Array EditorVCSInterface::get_file_diff(String p_file_path) {
|
||||
TypedArray<Dictionary> EditorVCSInterface::get_file_diff(String p_file_path) {
|
||||
if (is_addon_ready()) {
|
||||
return call("_get_file_diff", p_file_path);
|
||||
}
|
||||
return Array();
|
||||
return TypedArray<Dictionary>();
|
||||
}
|
||||
|
||||
bool EditorVCSInterface::shut_down() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue