Hugh Perkins wrote:
> How can arrays be passed from C into embedded Mono?

The best way is either to create a MonoArray* (see mono_array_new)
and fill (see the mono_array_* accessors or the vector member)
on the C side, or to create the array in managed code and fill it
on the C side again.

The MonoArray* can be passed like an object (since it is one)
to mono_runtime_invoke or to a delegate ftnptr.

Robert

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

Reply via email to