diff --git a/build-tools/jnienv-gen/Generator.cs b/build-tools/jnienv-gen/Generator.cs index a035544dc..f9fdf0b61 100644 --- a/build-tools/jnienv-gen/Generator.cs +++ b/build-tools/jnienv-gen/Generator.cs @@ -235,11 +235,11 @@ static void CreateDelegate (TextWriter o, JniFunction entry, HandleStyle style) if (i >= 0) { builder.Append (", "); builder.AppendFormat ("{0} {1}", - entry.Parameters [i].Type.GetMarshalType (style, isReturn: false), + entry.Parameters [i].Type.GetMarshalType (style, isReturn: false, isPinvoke: true), Escape (entry.Parameters [i].Name)); } - var ptype = entry.Parameters [i].Type.GetManagedType (style, isReturn: false); + var ptype = entry.Parameters [i].Type.GetManagedType (style, isReturn: false, isPinvoke: true); if (ptype == "va_list") return; if (ptype == "char[]") @@ -308,11 +308,11 @@ static void GenerateNativeMethods (TextWriter o, HandleStyle style) o.WriteLine (); o.WriteLine ("\t\t[DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]"); o.WriteLine ("\t\tinternal static extern unsafe {0} {1} (IntPtr jnienv{2}{3}{4});", - entry.ReturnType.GetMarshalType (style, isReturn: true), + entry.ReturnType.GetMarshalType (style, isReturn: true, isPinvoke: true), GetPinvokeName (entry.Name), entry.Throws ? ", out IntPtr thrown" : "", entry.Parameters.Length != 0 ? ", " : "", - string.Join (", ", entry.Parameters.Select (p => string.Format ("{0} {1}", p.Type.GetMarshalType (style, isReturn: false), Escape (p.Name))))); + string.Join (", ", entry.Parameters.Select (p => string.Format ("{0} {1}", p.Type.GetMarshalType (style, isReturn: false, isPinvoke: true), Escape (p.Name))))); } o.WriteLine ("\t}"); o.WriteLine (); @@ -653,8 +653,8 @@ protected TypeInfo (string jniType) JniType = jniType; } - public abstract string GetMarshalType (HandleStyle style, bool isReturn); - public abstract string GetManagedType (HandleStyle style, bool isReturn); + public abstract string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke = false); + public abstract string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke = false); public virtual string[] GetHandleCreationLogStatements (HandleStyle style, string method, string variable) { @@ -681,6 +681,10 @@ public virtual string[] VerifyParameter (HandleStyle style, string variable) class BuiltinTypeInfo : TypeInfo { + /// + /// NOTE: .NET framework can't marshal this + /// + const string JniArgumentValue = "JniArgumentValue*"; string managed; public BuiltinTypeInfo (string jni, string managed) @@ -689,16 +693,31 @@ public BuiltinTypeInfo (string jni, string managed) this.managed = managed; } - public override string GetMarshalType (HandleStyle style, bool isReturn) + public override string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke) { + if (isPinvoke && managed == JniArgumentValue) { + return "IntPtr"; + } return managed; } - public override string GetManagedType (HandleStyle style, bool isReturn) + public override string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke) { + if (isPinvoke && managed == JniArgumentValue) { + return "IntPtr"; + } return managed; } + public override string GetManagedToMarshalExpression (HandleStyle style, string variable) + { + var value = base.GetManagedToMarshalExpression (style, variable); + if (managed == JniArgumentValue) { + value = "(IntPtr) " + value; + } + return value; + } + public override string[] VerifyParameter (HandleStyle style, string variable) { if (managed != "IntPtr") @@ -720,12 +739,12 @@ public BooleanTypeInfo (string jni) { } - public override string GetMarshalType (HandleStyle style, bool isReturn) + public override string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke) { return "byte"; } - public override string GetManagedType (HandleStyle style, bool isReturn) + public override string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke) { return "bool"; } @@ -750,12 +769,12 @@ public StringTypeInfo (string jni) { } - public override string GetMarshalType (HandleStyle style, bool isReturn) + public override string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke) { return "string"; } - public override string GetManagedType (HandleStyle style, bool isReturn) + public override string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke) { return "string"; } @@ -798,12 +817,12 @@ public JniReleaseArrayElementsModeTypeInfo () { } - public override string GetMarshalType (HandleStyle style, bool isReturn) + public override string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke) { return "int"; } - public override string GetManagedType (HandleStyle style, bool isReturn) + public override string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke) { return "JniReleaseArrayElementsMode"; } @@ -839,12 +858,12 @@ public IdTypeInfo (string jni, string type) this.type = type; } - public override string GetMarshalType (HandleStyle style, bool isReturn) + public override string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke) { return "IntPtr"; } - public override string GetManagedType (HandleStyle style, bool isReturn) + public override string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke) { switch (style) { case HandleStyle.SafeHandle: @@ -968,7 +987,7 @@ public ObjectReferenceTypeInfo (string jni, string safeType, string refType) this.refType = refType; } - public override string GetMarshalType (HandleStyle style, bool isReturn) + public override string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke) { switch (style) { case HandleStyle.SafeHandle: @@ -981,7 +1000,7 @@ public override string GetMarshalType (HandleStyle style, bool isReturn) return null; } - public override string GetManagedType (HandleStyle style, bool isReturn) + public override string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke) { switch (style) { case HandleStyle.SafeHandle: @@ -1088,12 +1107,12 @@ public JavaVMPointerTypeInfo (string jni) { } - public override string GetMarshalType (HandleStyle style, bool isReturn) + public override string GetMarshalType (HandleStyle style, bool isReturn, bool isPinvoke) { return "out IntPtr"; } - public override string GetManagedType (HandleStyle style, bool isReturn) + public override string GetManagedType (HandleStyle style, bool isReturn, bool isPinvoke) { return "out IntPtr"; } diff --git a/gendarme-ignore.txt b/gendarme-ignore.txt index f4eff4309..a18208a9a 100644 --- a/gendarme-ignore.txt +++ b/gendarme-ignore.txt @@ -399,50 +399,50 @@ M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_new_local_ref(S M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_ensure_local_capacity(System.IntPtr,System.Int32) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_alloc_object(System.IntPtr,System.IntPtr&,System.IntPtr) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_new_object(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_new_object_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_new_object_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_get_object_class(System.IntPtr,System.IntPtr) M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_is_instance_of(System.IntPtr,System.IntPtr,System.IntPtr) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_get_method_id(System.IntPtr,System.IntPtr&,System.IntPtr,System.String,System.String) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_object_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_object_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_object_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_boolean_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_boolean_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_boolean_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_byte_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_byte_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_byte_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_char_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_char_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_char_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_short_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_short_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_short_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_int_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_int_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_int_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_long_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_long_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_long_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_float_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_float_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_float_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_double_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_double_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_double_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_void_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_void_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_void_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_object_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_object_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_object_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_boolean_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_boolean_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_boolean_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_byte_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_byte_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_byte_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_char_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_char_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_char_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_short_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_short_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_short_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_int_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_int_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_int_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_long_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_long_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_long_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_float_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_float_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_float_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_double_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_double_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_double_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_void_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) -M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_void_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_nonvirtual_void_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_get_field_id(System.IntPtr,System.IntPtr&,System.IntPtr,System.String,System.String) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_get_object_field(System.IntPtr,System.IntPtr,System.IntPtr) M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_get_boolean_field(System.IntPtr,System.IntPtr,System.IntPtr) @@ -464,25 +464,25 @@ M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_set_float_field(S M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_set_double_field(System.IntPtr,System.IntPtr,System.IntPtr,System.Double) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_get_static_method_id(System.IntPtr,System.IntPtr&,System.IntPtr,System.String,System.String) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_static_object_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_static_object_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_call_static_object_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_static_boolean_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_static_boolean_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_call_static_boolean_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_static_byte_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_static_byte_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.SByte Java.Interop.NativeMethods::java_interop_jnienv_call_static_byte_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_static_char_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_static_char_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Char Java.Interop.NativeMethods::java_interop_jnienv_call_static_char_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_static_short_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_static_short_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int16 Java.Interop.NativeMethods::java_interop_jnienv_call_static_short_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_static_int_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_static_int_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int32 Java.Interop.NativeMethods::java_interop_jnienv_call_static_int_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_static_long_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_static_long_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Int64 Java.Interop.NativeMethods::java_interop_jnienv_call_static_long_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_static_float_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_static_float_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Single Java.Interop.NativeMethods::java_interop_jnienv_call_static_float_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_static_double_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_static_double_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Double Java.Interop.NativeMethods::java_interop_jnienv_call_static_double_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_static_void_method(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr) -M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_static_void_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,Java.Interop.JniArgumentValue*) +M: System.Void Java.Interop.NativeMethods::java_interop_jnienv_call_static_void_method_a(System.IntPtr,System.IntPtr&,System.IntPtr,System.IntPtr,System.IntPtr) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_get_static_field_id(System.IntPtr,System.IntPtr&,System.IntPtr,System.String,System.String) M: System.IntPtr Java.Interop.NativeMethods::java_interop_jnienv_get_static_object_field(System.IntPtr,System.IntPtr,System.IntPtr) M: System.Byte Java.Interop.NativeMethods::java_interop_jnienv_get_static_boolean_field(System.IntPtr,System.IntPtr,System.IntPtr) diff --git a/src/Java.Interop/Java.Interop/JniEnvironment.Types.cs b/src/Java.Interop/Java.Interop/JniEnvironment.Types.cs index 15c056caf..40dfd3de1 100644 --- a/src/Java.Interop/Java.Interop/JniEnvironment.Types.cs +++ b/src/Java.Interop/Java.Interop/JniEnvironment.Types.cs @@ -53,7 +53,7 @@ public static unsafe JniObjectReference FindClass (string classname) __args [0] = new JniArgumentValue (java); IntPtr ignoreThrown; - c = NativeMethods.java_interop_jnienv_call_object_method_a (info.EnvironmentPointer, out ignoreThrown, info.Runtime.ClassLoader.Handle, info.Runtime.ClassLoader_LoadClass.ID, __args); + c = NativeMethods.java_interop_jnienv_call_object_method_a (info.EnvironmentPointer, out ignoreThrown, info.Runtime.ClassLoader.Handle, info.Runtime.ClassLoader_LoadClass.ID, (IntPtr) __args); JniObjectReference.Dispose (ref java); if (ignoreThrown == IntPtr.Zero) { JniObjectReference.Dispose (ref e); diff --git a/tests/invocation-overhead/Makefile b/tests/invocation-overhead/Makefile index 66f61d798..8f58b5979 100644 --- a/tests/invocation-overhead/Makefile +++ b/tests/invocation-overhead/Makefile @@ -9,6 +9,7 @@ clean: include ../../build-tools/scripts/mono.mk include ../../build-tools/scripts/jdk.mk +include ../../bin/BuildDebug/JdkInfo.mk include ../../build-tools/scripts/msbuild.mk $(JNIENV_GEN): diff --git a/tests/invocation-overhead/jni.cs b/tests/invocation-overhead/jni.cs index 76d4feb14..39054e122 100644 --- a/tests/invocation-overhead/jni.cs +++ b/tests/invocation-overhead/jni.cs @@ -304,46 +304,46 @@ partial struct JniNativeInterfaceStruct { unsafe delegate JniGlobalReference JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniGlobalReference (JNIEnvPtr env, JniReferenceSafeHandle instance); unsafe delegate void JniAction_JNIEnvPtr_IntPtr (JNIEnvPtr env, IntPtr instance); unsafe delegate JniLocalReference JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniLocalReference (JNIEnvPtr env, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate JniLocalReference JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_JniLocalReference (JNIEnvPtr env, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate JniLocalReference JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_JniLocalReference (JNIEnvPtr env, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate IntPtr JniFunc_JNIEnvPtr_JniReferenceSafeHandle_string_string_IntPtr (JNIEnvPtr env, JniReferenceSafeHandle type, string name, string signature); unsafe delegate byte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_byte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate byte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate byte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate sbyte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_sbyte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate sbyte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate sbyte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate char JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_char (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate char JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate char JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate short JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_short (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate short JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate short JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate int JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_int (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate int JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate int JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate long JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_long (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate long JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate long JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate float JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_float (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate float JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate float JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate double JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_double (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate double JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate double JniFunc_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_IntPtr (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method); - unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, JniArgumentValue* args); + unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr method, IntPtr args); unsafe delegate JniLocalReference JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniLocalReference (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate JniLocalReference JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_JniLocalReference (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate JniLocalReference JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_JniLocalReference (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate byte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_byte (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate byte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate byte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate sbyte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_sbyte (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate sbyte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate sbyte JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate char JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_char (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate char JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate char JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate short JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_short (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate short JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate short JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate int JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_int (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate int JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate int JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate long JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_long (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate long JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate long JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate float JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_float (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate float JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate float JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate double JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_double (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate double JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate double JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method); - unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, JniArgumentValue* args); + unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_JniReferenceSafeHandle_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, JniReferenceSafeHandle instance, JniReferenceSafeHandle type, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_JniReferenceSafeHandle (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr field, JniReferenceSafeHandle value); unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_byte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr field, byte value); unsafe delegate void JniAction_JNIEnvPtr_JniReferenceSafeHandle_IntPtr_sbyte (JNIEnvPtr env, JniReferenceSafeHandle instance, IntPtr field, sbyte value); @@ -1319,7 +1319,7 @@ public static unsafe JniObjectReference CallObjectMethod (JniObjectReference ins System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallObjectMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallObjectMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1360,7 +1360,7 @@ public static unsafe bool CallBooleanMethod (JniObjectReference instance, JniMet System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallBooleanMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallBooleanMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1400,7 +1400,7 @@ public static unsafe sbyte CallByteMethod (JniObjectReference instance, JniMetho System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallByteMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallByteMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1440,7 +1440,7 @@ public static unsafe char CallCharMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallCharMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallCharMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1480,7 +1480,7 @@ public static unsafe short CallShortMethod (JniObjectReference instance, JniMeth System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallShortMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallShortMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1520,7 +1520,7 @@ public static unsafe int CallIntMethod (JniObjectReference instance, JniMethodIn System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallIntMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallIntMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1560,7 +1560,7 @@ public static unsafe long CallLongMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallLongMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallLongMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1600,7 +1600,7 @@ public static unsafe float CallFloatMethod (JniObjectReference instance, JniMeth System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallFloatMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallFloatMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1640,7 +1640,7 @@ public static unsafe double CallDoubleMethod (JniObjectReference instance, JniMe System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallDoubleMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallDoubleMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1679,7 +1679,7 @@ public static unsafe void CallVoidMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallVoidMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, args); + __info.Invoker.CallVoidMethodA (__info.EnvironmentPointer, instance.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1723,7 +1723,7 @@ public static unsafe JniObjectReference CallNonvirtualObjectMethod (JniObjectRef System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualObjectMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualObjectMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1768,7 +1768,7 @@ public static unsafe bool CallNonvirtualBooleanMethod (JniObjectReference instan System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualBooleanMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualBooleanMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1812,7 +1812,7 @@ public static unsafe sbyte CallNonvirtualByteMethod (JniObjectReference instance System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualByteMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualByteMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1856,7 +1856,7 @@ public static unsafe char CallNonvirtualCharMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualCharMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualCharMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1900,7 +1900,7 @@ public static unsafe short CallNonvirtualShortMethod (JniObjectReference instanc System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualShortMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualShortMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1944,7 +1944,7 @@ public static unsafe int CallNonvirtualIntMethod (JniObjectReference instance, J System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualIntMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualIntMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -1988,7 +1988,7 @@ public static unsafe long CallNonvirtualLongMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualLongMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualLongMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2032,7 +2032,7 @@ public static unsafe float CallNonvirtualFloatMethod (JniObjectReference instanc System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualFloatMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualFloatMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2076,7 +2076,7 @@ public static unsafe double CallNonvirtualDoubleMethod (JniObjectReference insta System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualDoubleMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualDoubleMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2119,7 +2119,7 @@ public static unsafe void CallNonvirtualVoidMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallNonvirtualVoidMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, args); + __info.Invoker.CallNonvirtualVoidMethodA (__info.EnvironmentPointer, instance.SafeHandle, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2240,7 +2240,7 @@ internal static unsafe JniObjectReference _NewObject (JniObjectReference type, J System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.NewObjectA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.NewObjectA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2718,7 +2718,7 @@ public static unsafe JniObjectReference CallStaticObjectMethod (JniObjectReferen System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticObjectMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticObjectMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2759,7 +2759,7 @@ public static unsafe bool CallStaticBooleanMethod (JniObjectReference type, JniM System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticBooleanMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticBooleanMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2799,7 +2799,7 @@ public static unsafe sbyte CallStaticByteMethod (JniObjectReference type, JniMet System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticByteMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticByteMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2839,7 +2839,7 @@ public static unsafe char CallStaticCharMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticCharMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticCharMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2879,7 +2879,7 @@ public static unsafe short CallStaticShortMethod (JniObjectReference type, JniMe System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticShortMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticShortMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2919,7 +2919,7 @@ public static unsafe int CallStaticIntMethod (JniObjectReference type, JniMethod System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticIntMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticIntMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2959,7 +2959,7 @@ public static unsafe long CallStaticLongMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticLongMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticLongMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -2999,7 +2999,7 @@ public static unsafe float CallStaticFloatMethod (JniObjectReference type, JniMe System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticFloatMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticFloatMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -3039,7 +3039,7 @@ public static unsafe double CallStaticDoubleMethod (JniObjectReference type, Jni System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticDoubleMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + var tmp = __info.Invoker.CallStaticDoubleMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -3078,7 +3078,7 @@ public static unsafe void CallStaticVoidMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallStaticVoidMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, args); + __info.Invoker.CallStaticVoidMethodA (__info.EnvironmentPointer, type.SafeHandle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -5078,46 +5078,46 @@ public JniFunc_JNIEnvPtr_JniReferenceSafeHandle_JniObjectReferenceType GetObject unsafe delegate int JniFunc_JNIEnvPtr_int_int (JNIEnvPtr env, int capacity); unsafe delegate void JniAction_JNIEnvPtr_IntPtr (JNIEnvPtr env, IntPtr instance); unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_IntPtr_jobject (JNIEnvPtr env, jobject type, IntPtr method); - unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject type, IntPtr method, IntPtr args); unsafe delegate IntPtr JniFunc_JNIEnvPtr_jobject_string_string_IntPtr (JNIEnvPtr env, jobject type, string name, string signature); unsafe delegate byte JniFunc_JNIEnvPtr_jobject_IntPtr_byte (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate byte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate byte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_IntPtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate char JniFunc_JNIEnvPtr_jobject_IntPtr_char (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate char JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate char JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate short JniFunc_JNIEnvPtr_jobject_IntPtr_short (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate short JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate short JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate int JniFunc_JNIEnvPtr_jobject_IntPtr_int (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate int JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate int JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate long JniFunc_JNIEnvPtr_jobject_IntPtr_long (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate long JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate long JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate float JniFunc_JNIEnvPtr_jobject_IntPtr_float (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate float JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate float JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate double JniFunc_JNIEnvPtr_jobject_IntPtr_double (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate double JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate double JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_jobject (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate byte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_byte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate byte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate byte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_sbyte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate char JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_char (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate char JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate char JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate short JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_short (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate short JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate short JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate int JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_int (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate int JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate int JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate long JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_long (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate long JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate long JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate float JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_float (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate float JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate float JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate double JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_double (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate double JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate double JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_jobject_jobject_IntPtr (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate void JniAction_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate void JniAction_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_jobject (JNIEnvPtr env, jobject instance, IntPtr field, jobject value); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_byte (JNIEnvPtr env, jobject instance, IntPtr field, byte value); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr field, sbyte value); @@ -6092,7 +6092,7 @@ public static unsafe JniObjectReference CallObjectMethod (JniObjectReference ins System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallObjectMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallObjectMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6133,7 +6133,7 @@ public static unsafe bool CallBooleanMethod (JniObjectReference instance, JniMet System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallBooleanMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallBooleanMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6173,7 +6173,7 @@ public static unsafe sbyte CallByteMethod (JniObjectReference instance, JniMetho System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallByteMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallByteMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6213,7 +6213,7 @@ public static unsafe char CallCharMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallCharMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallCharMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6253,7 +6253,7 @@ public static unsafe short CallShortMethod (JniObjectReference instance, JniMeth System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallShortMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallShortMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6293,7 +6293,7 @@ public static unsafe int CallIntMethod (JniObjectReference instance, JniMethodIn System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallIntMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallIntMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6333,7 +6333,7 @@ public static unsafe long CallLongMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallLongMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallLongMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6373,7 +6373,7 @@ public static unsafe float CallFloatMethod (JniObjectReference instance, JniMeth System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallFloatMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallFloatMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6413,7 +6413,7 @@ public static unsafe double CallDoubleMethod (JniObjectReference instance, JniMe System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallDoubleMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + var tmp = __info.Invoker.CallDoubleMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6452,7 +6452,7 @@ public static unsafe void CallVoidMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallVoidMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, args); + __info.Invoker.CallVoidMethodA (__info.EnvironmentPointer, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6496,7 +6496,7 @@ public static unsafe JniObjectReference CallNonvirtualObjectMethod (JniObjectRef System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualObjectMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualObjectMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6541,7 +6541,7 @@ public static unsafe bool CallNonvirtualBooleanMethod (JniObjectReference instan System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualBooleanMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualBooleanMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6585,7 +6585,7 @@ public static unsafe sbyte CallNonvirtualByteMethod (JniObjectReference instance System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualByteMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualByteMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6629,7 +6629,7 @@ public static unsafe char CallNonvirtualCharMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualCharMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualCharMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6673,7 +6673,7 @@ public static unsafe short CallNonvirtualShortMethod (JniObjectReference instanc System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualShortMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualShortMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6717,7 +6717,7 @@ public static unsafe int CallNonvirtualIntMethod (JniObjectReference instance, J System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualIntMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualIntMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6761,7 +6761,7 @@ public static unsafe long CallNonvirtualLongMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualLongMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualLongMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6805,7 +6805,7 @@ public static unsafe float CallNonvirtualFloatMethod (JniObjectReference instanc System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualFloatMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualFloatMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6849,7 +6849,7 @@ public static unsafe double CallNonvirtualDoubleMethod (JniObjectReference insta System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualDoubleMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallNonvirtualDoubleMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -6892,7 +6892,7 @@ public static unsafe void CallNonvirtualVoidMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallNonvirtualVoidMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, args); + __info.Invoker.CallNonvirtualVoidMethodA (__info.EnvironmentPointer, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7013,7 +7013,7 @@ internal static unsafe JniObjectReference _NewObject (JniObjectReference type, J System.Diagnostics.Debug.Assert (!method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.NewObjectA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.NewObjectA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7491,7 +7491,7 @@ public static unsafe JniObjectReference CallStaticObjectMethod (JniObjectReferen System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticObjectMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticObjectMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7532,7 +7532,7 @@ public static unsafe bool CallStaticBooleanMethod (JniObjectReference type, JniM System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticBooleanMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticBooleanMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7572,7 +7572,7 @@ public static unsafe sbyte CallStaticByteMethod (JniObjectReference type, JniMet System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticByteMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticByteMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7612,7 +7612,7 @@ public static unsafe char CallStaticCharMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticCharMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticCharMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7652,7 +7652,7 @@ public static unsafe short CallStaticShortMethod (JniObjectReference type, JniMe System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticShortMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticShortMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7692,7 +7692,7 @@ public static unsafe int CallStaticIntMethod (JniObjectReference type, JniMethod System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticIntMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticIntMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7732,7 +7732,7 @@ public static unsafe long CallStaticLongMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticLongMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticLongMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7772,7 +7772,7 @@ public static unsafe float CallStaticFloatMethod (JniObjectReference type, JniMe System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticFloatMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticFloatMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7812,7 +7812,7 @@ public static unsafe double CallStaticDoubleMethod (JniObjectReference type, Jni System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticDoubleMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + var tmp = __info.Invoker.CallStaticDoubleMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -7851,7 +7851,7 @@ public static unsafe void CallStaticVoidMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallStaticVoidMethodA (__info.EnvironmentPointer, type.Handle, method.ID, args); + __info.Invoker.CallStaticVoidMethodA (__info.EnvironmentPointer, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -9910,7 +9910,7 @@ static partial class NativeMethods { internal static extern unsafe jobject java_interop_jnienv_new_object (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe jobject java_interop_jnienv_new_object_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe jobject java_interop_jnienv_new_object_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe jobject java_interop_jnienv_get_object_class (IntPtr jnienv, jobject instance); @@ -9925,121 +9925,121 @@ static partial class NativeMethods { internal static extern unsafe jobject java_interop_jnienv_call_object_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe jobject java_interop_jnienv_call_object_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe jobject java_interop_jnienv_call_object_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe byte java_interop_jnienv_call_boolean_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe byte java_interop_jnienv_call_boolean_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe byte java_interop_jnienv_call_boolean_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe sbyte java_interop_jnienv_call_byte_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe sbyte java_interop_jnienv_call_byte_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe sbyte java_interop_jnienv_call_byte_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe char java_interop_jnienv_call_char_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe char java_interop_jnienv_call_char_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe char java_interop_jnienv_call_char_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe short java_interop_jnienv_call_short_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe short java_interop_jnienv_call_short_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe short java_interop_jnienv_call_short_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe int java_interop_jnienv_call_int_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe int java_interop_jnienv_call_int_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe int java_interop_jnienv_call_int_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe long java_interop_jnienv_call_long_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe long java_interop_jnienv_call_long_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe long java_interop_jnienv_call_long_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe float java_interop_jnienv_call_float_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe float java_interop_jnienv_call_float_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe float java_interop_jnienv_call_float_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe double java_interop_jnienv_call_double_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe double java_interop_jnienv_call_double_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe double java_interop_jnienv_call_double_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe void java_interop_jnienv_call_void_method (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe void java_interop_jnienv_call_void_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, JniArgumentValue* args); + internal static extern unsafe void java_interop_jnienv_call_void_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe jobject java_interop_jnienv_call_nonvirtual_object_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe jobject java_interop_jnienv_call_nonvirtual_object_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe jobject java_interop_jnienv_call_nonvirtual_object_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe byte java_interop_jnienv_call_nonvirtual_boolean_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe byte java_interop_jnienv_call_nonvirtual_boolean_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe byte java_interop_jnienv_call_nonvirtual_boolean_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe sbyte java_interop_jnienv_call_nonvirtual_byte_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe sbyte java_interop_jnienv_call_nonvirtual_byte_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe sbyte java_interop_jnienv_call_nonvirtual_byte_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe char java_interop_jnienv_call_nonvirtual_char_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe char java_interop_jnienv_call_nonvirtual_char_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe char java_interop_jnienv_call_nonvirtual_char_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe short java_interop_jnienv_call_nonvirtual_short_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe short java_interop_jnienv_call_nonvirtual_short_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe short java_interop_jnienv_call_nonvirtual_short_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe int java_interop_jnienv_call_nonvirtual_int_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe int java_interop_jnienv_call_nonvirtual_int_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe int java_interop_jnienv_call_nonvirtual_int_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe long java_interop_jnienv_call_nonvirtual_long_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe long java_interop_jnienv_call_nonvirtual_long_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe long java_interop_jnienv_call_nonvirtual_long_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe float java_interop_jnienv_call_nonvirtual_float_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe float java_interop_jnienv_call_nonvirtual_float_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe float java_interop_jnienv_call_nonvirtual_float_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe double java_interop_jnienv_call_nonvirtual_double_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe double java_interop_jnienv_call_nonvirtual_double_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe double java_interop_jnienv_call_nonvirtual_double_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe void java_interop_jnienv_call_nonvirtual_void_method (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe void java_interop_jnienv_call_nonvirtual_void_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe void java_interop_jnienv_call_nonvirtual_void_method_a (IntPtr jnienv, out IntPtr thrown, jobject instance, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe IntPtr java_interop_jnienv_get_field_id (IntPtr jnienv, out IntPtr thrown, jobject type, string name, string signature); @@ -10105,61 +10105,61 @@ static partial class NativeMethods { internal static extern unsafe jobject java_interop_jnienv_call_static_object_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe jobject java_interop_jnienv_call_static_object_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe jobject java_interop_jnienv_call_static_object_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe byte java_interop_jnienv_call_static_boolean_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe byte java_interop_jnienv_call_static_boolean_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe byte java_interop_jnienv_call_static_boolean_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe sbyte java_interop_jnienv_call_static_byte_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe sbyte java_interop_jnienv_call_static_byte_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe sbyte java_interop_jnienv_call_static_byte_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe char java_interop_jnienv_call_static_char_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe char java_interop_jnienv_call_static_char_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe char java_interop_jnienv_call_static_char_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe short java_interop_jnienv_call_static_short_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe short java_interop_jnienv_call_static_short_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe short java_interop_jnienv_call_static_short_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe int java_interop_jnienv_call_static_int_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe int java_interop_jnienv_call_static_int_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe int java_interop_jnienv_call_static_int_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe long java_interop_jnienv_call_static_long_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe long java_interop_jnienv_call_static_long_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe long java_interop_jnienv_call_static_long_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe float java_interop_jnienv_call_static_float_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe float java_interop_jnienv_call_static_float_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe float java_interop_jnienv_call_static_float_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe double java_interop_jnienv_call_static_double_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe double java_interop_jnienv_call_static_double_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe double java_interop_jnienv_call_static_double_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe void java_interop_jnienv_call_static_void_method (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] - internal static extern unsafe void java_interop_jnienv_call_static_void_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, JniArgumentValue* args); + internal static extern unsafe void java_interop_jnienv_call_static_void_method_a (IntPtr jnienv, out IntPtr thrown, jobject type, IntPtr method, IntPtr args); [DllImport (JavaInteropLib, CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)] internal static extern unsafe IntPtr java_interop_jnienv_get_static_field_id (IntPtr jnienv, out IntPtr thrown, jobject type, string name, string signature); @@ -11276,7 +11276,7 @@ public static unsafe JniObjectReference CallObjectMethod (JniObjectReference ins System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_object_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_object_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11317,7 +11317,7 @@ public static unsafe bool CallBooleanMethod (JniObjectReference instance, JniMet System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_boolean_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_boolean_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11357,7 +11357,7 @@ public static unsafe sbyte CallByteMethod (JniObjectReference instance, JniMetho System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_byte_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_byte_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11397,7 +11397,7 @@ public static unsafe char CallCharMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_char_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_char_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11437,7 +11437,7 @@ public static unsafe short CallShortMethod (JniObjectReference instance, JniMeth System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_short_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_short_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11477,7 +11477,7 @@ public static unsafe int CallIntMethod (JniObjectReference instance, JniMethodIn System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_int_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_int_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11517,7 +11517,7 @@ public static unsafe long CallLongMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_long_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_long_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11557,7 +11557,7 @@ public static unsafe float CallFloatMethod (JniObjectReference instance, JniMeth System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_float_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_float_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11597,7 +11597,7 @@ public static unsafe double CallDoubleMethod (JniObjectReference instance, JniMe System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_double_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_double_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11636,7 +11636,7 @@ public static unsafe void CallVoidMethod (JniObjectReference instance, JniMethod System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - NativeMethods.java_interop_jnienv_call_void_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, args); + NativeMethods.java_interop_jnienv_call_void_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11680,7 +11680,7 @@ public static unsafe JniObjectReference CallNonvirtualObjectMethod (JniObjectRef System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_object_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_object_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11725,7 +11725,7 @@ public static unsafe bool CallNonvirtualBooleanMethod (JniObjectReference instan System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_boolean_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_boolean_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11769,7 +11769,7 @@ public static unsafe sbyte CallNonvirtualByteMethod (JniObjectReference instance System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_byte_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_byte_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11813,7 +11813,7 @@ public static unsafe char CallNonvirtualCharMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_char_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_char_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11857,7 +11857,7 @@ public static unsafe short CallNonvirtualShortMethod (JniObjectReference instanc System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_short_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_short_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11901,7 +11901,7 @@ public static unsafe int CallNonvirtualIntMethod (JniObjectReference instance, J System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_int_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_int_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11945,7 +11945,7 @@ public static unsafe long CallNonvirtualLongMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_long_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_long_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -11989,7 +11989,7 @@ public static unsafe float CallNonvirtualFloatMethod (JniObjectReference instanc System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_float_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_float_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12033,7 +12033,7 @@ public static unsafe double CallNonvirtualDoubleMethod (JniObjectReference insta System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_double_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_nonvirtual_double_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12076,7 +12076,7 @@ public static unsafe void CallNonvirtualVoidMethod (JniObjectReference instance, System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - NativeMethods.java_interop_jnienv_call_nonvirtual_void_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, args); + NativeMethods.java_interop_jnienv_call_nonvirtual_void_method_a (JniEnvironment.EnvironmentPointer, out thrown, instance.Handle, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12193,7 +12193,7 @@ internal static unsafe JniObjectReference _NewObject (JniObjectReference type, J System.Diagnostics.Debug.Assert (!method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_new_object_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_new_object_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12642,7 +12642,7 @@ public static unsafe JniObjectReference CallStaticObjectMethod (JniObjectReferen System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_object_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_object_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12683,7 +12683,7 @@ public static unsafe bool CallStaticBooleanMethod (JniObjectReference type, JniM System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_boolean_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_boolean_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12723,7 +12723,7 @@ public static unsafe sbyte CallStaticByteMethod (JniObjectReference type, JniMet System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_byte_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_byte_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12763,7 +12763,7 @@ public static unsafe char CallStaticCharMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_char_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_char_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12803,7 +12803,7 @@ public static unsafe short CallStaticShortMethod (JniObjectReference type, JniMe System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_short_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_short_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12843,7 +12843,7 @@ public static unsafe int CallStaticIntMethod (JniObjectReference type, JniMethod System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_int_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_int_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12883,7 +12883,7 @@ public static unsafe long CallStaticLongMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_long_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_long_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12923,7 +12923,7 @@ public static unsafe float CallStaticFloatMethod (JniObjectReference type, JniMe System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_float_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_float_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -12963,7 +12963,7 @@ public static unsafe double CallStaticDoubleMethod (JniObjectReference type, Jni System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - var tmp = NativeMethods.java_interop_jnienv_call_static_double_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + var tmp = NativeMethods.java_interop_jnienv_call_static_double_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -13002,7 +13002,7 @@ public static unsafe void CallStaticVoidMethod (JniObjectReference type, JniMeth System.Diagnostics.Debug.Assert (method.IsStatic); IntPtr thrown; - NativeMethods.java_interop_jnienv_call_static_void_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, args); + NativeMethods.java_interop_jnienv_call_static_void_method_a (JniEnvironment.EnvironmentPointer, out thrown, type.Handle, method.ID, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (thrown); if (__e != null) @@ -13200,46 +13200,46 @@ internal static unsafe int GetVersion () unsafe delegate int JniFunc_JNIEnvPtr_int_int (JNIEnvPtr env, int capacity); unsafe delegate void JniAction_JNIEnvPtr_IntPtr (JNIEnvPtr env, IntPtr instance); unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_IntPtr_jobject (JNIEnvPtr env, jobject type, IntPtr method); - unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject type, IntPtr method, IntPtr args); unsafe delegate IntPtr JniFunc_JNIEnvPtr_jobject_string_string_IntPtr (JNIEnvPtr env, jobject type, string name, string signature); unsafe delegate byte JniFunc_JNIEnvPtr_jobject_IntPtr_byte (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate byte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate byte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_IntPtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate char JniFunc_JNIEnvPtr_jobject_IntPtr_char (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate char JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate char JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate short JniFunc_JNIEnvPtr_jobject_IntPtr_short (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate short JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate short JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate int JniFunc_JNIEnvPtr_jobject_IntPtr_int (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate int JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate int JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate long JniFunc_JNIEnvPtr_jobject_IntPtr_long (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate long JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate long JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate float JniFunc_JNIEnvPtr_jobject_IntPtr_float (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate float JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate float JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate double JniFunc_JNIEnvPtr_jobject_IntPtr_double (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate double JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate double JniFunc_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr (JNIEnvPtr env, jobject instance, IntPtr method); - unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, IntPtr method, JniArgumentValue* args); + unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, IntPtr method, IntPtr args); unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_jobject (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate jobject JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_jobject (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate byte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_byte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate byte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate byte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_byte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_sbyte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate sbyte JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_sbyte (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate char JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_char (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate char JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate char JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_char (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate short JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_short (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate short JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate short JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_short (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate int JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_int (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate int JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate int JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_int (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate long JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_long (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate long JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate long JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_long (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate float JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_float (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate float JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate float JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_float (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate double JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_double (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate double JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate double JniFunc_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr_double (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_jobject_jobject_IntPtr (JNIEnvPtr env, jobject instance, jobject type, IntPtr method); - unsafe delegate void JniAction_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, JniArgumentValue* args); + unsafe delegate void JniAction_JNIEnvPtr_jobject_jobject_IntPtr_JniArgumentValuePtr (JNIEnvPtr env, jobject instance, jobject type, IntPtr method, IntPtr args); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_jobject (JNIEnvPtr env, jobject instance, IntPtr field, jobject value); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_byte (JNIEnvPtr env, jobject instance, IntPtr field, byte value); unsafe delegate void JniAction_JNIEnvPtr_jobject_IntPtr_sbyte (JNIEnvPtr env, jobject instance, IntPtr field, sbyte value); @@ -14150,7 +14150,7 @@ public static unsafe IntPtr CallObjectMethod (IntPtr instance, IntPtr method, Jn throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallObjectMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallObjectMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14185,7 +14185,7 @@ public static unsafe bool CallBooleanMethod (IntPtr instance, IntPtr method, Jni throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallBooleanMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallBooleanMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14219,7 +14219,7 @@ public static unsafe sbyte CallByteMethod (IntPtr instance, IntPtr method, JniAr throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallByteMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallByteMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14253,7 +14253,7 @@ public static unsafe char CallCharMethod (IntPtr instance, IntPtr method, JniArg throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallCharMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallCharMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14287,7 +14287,7 @@ public static unsafe short CallShortMethod (IntPtr instance, IntPtr method, JniA throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallShortMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallShortMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14321,7 +14321,7 @@ public static unsafe int CallIntMethod (IntPtr instance, IntPtr method, JniArgum throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallIntMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallIntMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14355,7 +14355,7 @@ public static unsafe long CallLongMethod (IntPtr instance, IntPtr method, JniArg throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallLongMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallLongMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14389,7 +14389,7 @@ public static unsafe float CallFloatMethod (IntPtr instance, IntPtr method, JniA throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallFloatMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallFloatMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14423,7 +14423,7 @@ public static unsafe double CallDoubleMethod (IntPtr instance, IntPtr method, Jn throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallDoubleMethodA (__info.EnvironmentPointer, instance, method, args); + var tmp = __info.Invoker.CallDoubleMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14456,7 +14456,7 @@ public static unsafe void CallVoidMethod (IntPtr instance, IntPtr method, JniArg throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallVoidMethodA (__info.EnvironmentPointer, instance, method, args); + __info.Invoker.CallVoidMethodA (__info.EnvironmentPointer, instance, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14494,7 +14494,7 @@ public static unsafe IntPtr CallNonvirtualObjectMethod (IntPtr instance, IntPtr throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualObjectMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualObjectMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14533,7 +14533,7 @@ public static unsafe bool CallNonvirtualBooleanMethod (IntPtr instance, IntPtr t throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualBooleanMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualBooleanMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14571,7 +14571,7 @@ public static unsafe sbyte CallNonvirtualByteMethod (IntPtr instance, IntPtr typ throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualByteMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualByteMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14609,7 +14609,7 @@ public static unsafe char CallNonvirtualCharMethod (IntPtr instance, IntPtr type throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualCharMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualCharMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14647,7 +14647,7 @@ public static unsafe short CallNonvirtualShortMethod (IntPtr instance, IntPtr ty throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualShortMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualShortMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14685,7 +14685,7 @@ public static unsafe int CallNonvirtualIntMethod (IntPtr instance, IntPtr type, throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualIntMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualIntMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14723,7 +14723,7 @@ public static unsafe long CallNonvirtualLongMethod (IntPtr instance, IntPtr type throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualLongMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualLongMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14761,7 +14761,7 @@ public static unsafe float CallNonvirtualFloatMethod (IntPtr instance, IntPtr ty throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualFloatMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualFloatMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14799,7 +14799,7 @@ public static unsafe double CallNonvirtualDoubleMethod (IntPtr instance, IntPtr throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallNonvirtualDoubleMethodA (__info.EnvironmentPointer, instance, type, method, args); + var tmp = __info.Invoker.CallNonvirtualDoubleMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14836,7 +14836,7 @@ public static unsafe void CallNonvirtualVoidMethod (IntPtr instance, IntPtr type throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallNonvirtualVoidMethodA (__info.EnvironmentPointer, instance, type, method, args); + __info.Invoker.CallNonvirtualVoidMethodA (__info.EnvironmentPointer, instance, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -14951,7 +14951,7 @@ internal static unsafe IntPtr _NewObject (IntPtr type, IntPtr method, JniArgumen throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.NewObjectA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.NewObjectA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15359,7 +15359,7 @@ public static unsafe IntPtr CallStaticObjectMethod (IntPtr type, IntPtr method, throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticObjectMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticObjectMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15394,7 +15394,7 @@ public static unsafe bool CallStaticBooleanMethod (IntPtr type, IntPtr method, J throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticBooleanMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticBooleanMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15428,7 +15428,7 @@ public static unsafe sbyte CallStaticByteMethod (IntPtr type, IntPtr method, Jni throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticByteMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticByteMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15462,7 +15462,7 @@ public static unsafe char CallStaticCharMethod (IntPtr type, IntPtr method, JniA throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticCharMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticCharMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15496,7 +15496,7 @@ public static unsafe short CallStaticShortMethod (IntPtr type, IntPtr method, Jn throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticShortMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticShortMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15530,7 +15530,7 @@ public static unsafe int CallStaticIntMethod (IntPtr type, IntPtr method, JniArg throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticIntMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticIntMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15564,7 +15564,7 @@ public static unsafe long CallStaticLongMethod (IntPtr type, IntPtr method, JniA throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticLongMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticLongMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15598,7 +15598,7 @@ public static unsafe float CallStaticFloatMethod (IntPtr type, IntPtr method, Jn throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticFloatMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticFloatMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15632,7 +15632,7 @@ public static unsafe double CallStaticDoubleMethod (IntPtr type, IntPtr method, throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - var tmp = __info.Invoker.CallStaticDoubleMethodA (__info.EnvironmentPointer, type, method, args); + var tmp = __info.Invoker.CallStaticDoubleMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null) @@ -15665,7 +15665,7 @@ public static unsafe void CallStaticVoidMethod (IntPtr type, IntPtr method, JniA throw new ArgumentException ("Handle value cannot be null.", "method"); var __info = JniEnvironment.CurrentInfo; - __info.Invoker.CallStaticVoidMethodA (__info.EnvironmentPointer, type, method, args); + __info.Invoker.CallStaticVoidMethodA (__info.EnvironmentPointer, type, method, (IntPtr) args); Exception __e = JniEnvironment.GetExceptionForLastThrowable (); if (__e != null)