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
|
@ -83,7 +83,7 @@ bool DisplayServerAndroid::tts_is_paused() const {
|
|||
return TTS_Android::is_paused();
|
||||
}
|
||||
|
||||
Array DisplayServerAndroid::tts_get_voices() const {
|
||||
TypedArray<Dictionary> DisplayServerAndroid::tts_get_voices() const {
|
||||
return TTS_Android::get_voices();
|
||||
}
|
||||
|
||||
|
@ -136,7 +136,7 @@ bool DisplayServerAndroid::clipboard_has() const {
|
|||
}
|
||||
}
|
||||
|
||||
Array DisplayServerAndroid::get_display_cutouts() const {
|
||||
TypedArray<Rect2> DisplayServerAndroid::get_display_cutouts() const {
|
||||
GodotIOJavaWrapper *godot_io_java = OS_Android::get_singleton()->get_godot_io_java();
|
||||
ERR_FAIL_NULL_V(godot_io_java, Array());
|
||||
return godot_io_java->get_display_cutouts();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue