Replace Array return types with TypedArray

This commit is contained in:
kobewi 2022-08-05 03:41:48 +02:00
parent b9ea0e1338
commit 8be27dc59e
110 changed files with 298 additions and 272 deletions

View file

@ -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);