fix various places where nativeSetupJNI being treated as returning int

This commit is contained in:
Brenton Bostick
2025-09-22 08:25:56 -04:00
committed by Sam Lantinga
parent 6590a5bc0b
commit 8d86ee4995
4 changed files with 6 additions and 6 deletions

View File

@@ -1043,7 +1043,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
// C functions we call
public static native String nativeGetVersion();
public static native int nativeSetupJNI();
public static native void nativeSetupJNI();
public static native void nativeInitMainThread();
public static native void nativeCleanupMainThread();
public static native int nativeRunMain(String library, String function, Object arguments);

View File

@@ -117,7 +117,7 @@ class SDLAudioManager {
}
}
static native int nativeSetupJNI();
static native void nativeSetupJNI();
static native void nativeRemoveAudioDevice(boolean recording, int deviceId);

View File

@@ -20,7 +20,7 @@ import android.view.View;
public class SDLControllerManager
{
static native int nativeSetupJNI();
static native void nativeSetupJNI();
static native void nativeAddJoystick(int device_id, String name, String desc,
int vendor_id, int product_id,