diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-24 22:30:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 22:30:00 +0200 |
commit | 926d6c108277f74a29b683a4d623393b866e6d1c (patch) | |
tree | 596fc622c9ccbb2440aea62ddc9d147d5df36142 /platform/android/java/lib/src/org | |
parent | 57d21ebeda8460036efac1f70cd9ecd0896de517 (diff) | |
parent | 39f59786fab78b92083c41b6f85658e96b5d3a51 (diff) |
Merge pull request #39007 from nekomatata/android-object-id-long
Use long instead of int for object id in Android java wrapper
Diffstat (limited to 'platform/android/java/lib/src/org')
-rw-r--r-- | platform/android/java/lib/src/org/godotengine/godot/GodotLib.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java b/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java index 72198ba123..12edcc2bf2 100644 --- a/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java +++ b/platform/android/java/lib/src/org/godotengine/godot/GodotLib.java @@ -189,7 +189,7 @@ public class GodotLib { * @param p_method Name of the method to invoke * @param p_params Parameters to use for method invocation */ - public static native void callobject(int p_id, String p_method, Object[] p_params); + public static native void callobject(long p_id, String p_method, Object[] p_params); /** * Invoke method |p_method| on the Godot object specified by |p_id| during idle time. @@ -197,7 +197,7 @@ public class GodotLib { * @param p_method Name of the method to invoke * @param p_params Parameters to use for method invocation */ - public static native void calldeferred(int p_id, String p_method, Object[] p_params); + public static native void calldeferred(long p_id, String p_method, Object[] p_params); /** * Forward the results from a permission request. |