[Mono-dev] MonoListWrapper WIP - code review/feedback (Robert Jordan)

rfine at tbrf.net rfine at tbrf.net
Sun Jul 21 14:32:34 UTC 2013

On 2013-07-20 17:28, Robert Jordan <robertj at gmx.net> wrote:
> But, according to
> https://github.com/richard-fine/mono/blob/MonoListWrapper/contrib/MonoListWrapper/MonoListWrapper.c#L34
> it looks like you don't need this stuff at all :)
> You can obtain the element class of the array (the "elementType" of
> your wrapper) with mono_class_get_element_class () invoked
> on the class of the "_items" field of the List<T> in question.

Ah! Of course :)

Fixed it; no further dependency on mono/class-internals.h. Cheers!

- Richard

More information about the Mono-devel-list mailing list