Skip to content

Commit a456276

Browse files
committed
Fix Invoke return type
1 parent 50bb710 commit a456276

File tree

1 file changed

+1
-1
lines changed
  • tools/jnimarshalmethod-gen

1 file changed

+1
-1
lines changed

tools/jnimarshalmethod-gen/App.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ static Expression CreateRegistration (string method, string signature, LambdaExp
512512
CallingConventions.Standard, new Type [] { typeof (object), typeof (IntPtr) });
513513
dc.SetImplementationFlags (System.Reflection.MethodImplAttributes.Runtime | System.Reflection.MethodImplAttributes.Managed);
514514

515-
CreateDelegateRuntimeManagedMethod (dtb, "Invoke", null, parameterTypes.ToArray ());
515+
CreateDelegateRuntimeManagedMethod (dtb, "Invoke", typeof (bool), parameterTypes.ToArray ());
516516

517517
parameterTypes.Add (typeof (AsyncCallback));
518518
parameterTypes.Add (typeof (object));

0 commit comments

Comments
 (0)