[Mono-list] How to pass arrays from C to embedded Mono?
R. Tyler Ballance
tyler at bleepconsulting.com
Sat Nov 18 05:44:10 EST 2006
On Nov 18, 2006, at 4:25 AM, Hugh Perkins wrote:
> How can arrays be passed from C into embedded Mono?
As I had mentioned in IRC (remember, you decided to /ignore me)
The answer is in the documentation (http://www.mono-project.com/
There should be no difference conceptually between marshalling an
array into a standard managed Mono runtime versus marshalling into a
embedded Mono runtime. You still need to marshal the data properly
between the unmanaged and managed bits of the executable's runtime.
The steps for calling and passing the array from C into the embedded
runtime should be apparent after conforming the following bits of
Embedding_Mono#Invoking_Methods_in_the_CIL_universe) to your needs.
R. Tyler Ballance: Custom Mac and Linux Development at bleep. consulting
contact: tyler at bleepconsulting.com | jabber: tyler at jabber.geekisp.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list