Hi Dietmar,

On Fri, 2002-09-27 at 13:36, Dietmar Maurer wrote:
> On Fri, 2002-09-27 at 11:13, Michael Meeks wrote:
> >     So, we'd implement a custom Mono object adaptor [ as do the Python &
> > gobject-adaptor bindings ], and it'd just work. The thing is while I can
> > explain what to do conceptually, it'd take me a long time to get into
> > the Mono C internals - since really, that's where the mapping has to
> > happen I think.
> 
> C#/Mono has that PInvoke feature, so you can simply call any C# method
> you want from C, just like a normal C function.

        Sure; the thing is we don't want to invoke a C method; we want to
marshal the arguments to the C ABI, and then invoke a generic method -
since it may well not be C at the other end of the invoke. But - yes, it
should re-use a big chunk of the PInvoke code.

        Regards,

                Michael.

-- 
 [EMAIL PROTECTED]  <><, Pseudo Engineer, itinerant idiot


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to