[Mono-bugs] [Bug 386415] [PATCH] Implementation of mono_method_get_unmanaged_thunk

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 5 09:03:40 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=386415

User robertj at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=386415#c19





--- Comment #19 from Robert Jordan <robertj at gmx.net>  2008-05-05 07:03:40 MST ---
It did (indirectly), because runtime-invoke has just one signature:

MonoObject*
runtime_invoke (MonoMethod *method, MonoObject* this, gpointer[] params,
 MonoException **ex);

This signature does not need SMALL_STRUCTS_IN_REGS handling because it
always return boxed structs.

Now, with thunk-invoke it is possible to trigger it:


struct Test {
  int a;
  public static Test GetMe() {}
}

typedef Test (*GetMe)(MonoException**);


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list