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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 3 10:06:06 EDT 2008


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


           Summary: [PATCH] Implementation of
                    mono_method_get_unmanaged_thunk
           Product: Mono: Runtime
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: robertj at gmx.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


This patch implements mono_method_get_unmanaged_thunk ()
as specified by http://www.mono-project.com/Embedding_Mono#Future

For the time being, value types are not supported. Maybe they're even
working, but I don't know how to handle them with the embedded API,
thus there are no tests.

The unit tests are a little bit convoluted because they must access
the embedding API from withing mono/tests/libtest.c.

A footnote on mono_marshal_get_thunk_invoke_wrapper ():
it is generating unverifiable code:

result_type wrapper_for_method_foo (some arg, out Exception ex)
{
    result_type res;
    ex = null;

    try {

    } catch (Exception e) {
        ex = e;
    }
}


-- 
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