You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix JNI local reference table overflow when wrapping Java class with large method counts
This commit is contained in:
@@ -38,13 +38,7 @@
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
struct jvalret {
|
||||
jobject obj;
|
||||
jvalue val;
|
||||
jvalret() { obj = nullptr; }
|
||||
};
|
||||
|
||||
jvalret _variant_to_jvalue(JNIEnv *env, Variant::Type p_type, const Variant *p_arg, bool force_jobject = false, int p_depth = 0);
|
||||
jvalue _variant_to_jvalue(JNIEnv *env, Variant::Type p_type, const Variant *p_arg, bool force_jobject = false, int p_depth = 0);
|
||||
|
||||
String _get_class_name(JNIEnv *env, jclass cls, bool *array);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user