[Mono-dev] Method for common marshaling between calls in/out of mono?

Chase kiro.roo at gmail.com
Sun Mar 19 22:02:42 UTC 2017

For methods mono to c the method "mono_add_internal_call()" is provided, in
which variables are marshaled.
For methods c to mono we have "mono_method_get_unmanged_thunk()" is
provided, in which variables is not marshaled.

I've written a wrapper generator which aids in the process of binding the
languages.  Since handling variables changes depending on the direction of
the call it creates unwanted complexity in handling data types.  I'm
wondering if there is a method to make calls both ways that functioned the
same regardless of method, either marshaled or not.

I may have missed what I'm looking for in the documentation, please let me
know if I have.  If not I'd like to hear from someone familiar with the code
base on how difficult of an undertaking this might be for me to attempt to
add to the project.

View this message in context: http://mono.1490590.n4.nabble.com/Method-for-common-marshaling-between-calls-in-out-of-mono-tp4670291.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list