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
|
@ -165,8 +165,8 @@ float GodotIOJavaWrapper::get_screen_refresh_rate(float fallback) {
|
|||
return fallback;
|
||||
}
|
||||
|
||||
Array GodotIOJavaWrapper::get_display_cutouts() {
|
||||
Array result;
|
||||
TypedArray<Rect2> GodotIOJavaWrapper::get_display_cutouts() {
|
||||
TypedArray<Rect2> result;
|
||||
ERR_FAIL_NULL_V(_get_display_cutouts, result);
|
||||
JNIEnv *env = get_jni_env();
|
||||
ERR_FAIL_NULL_V(env, result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue