[Mono-dev] how to coerce MonoObject* holding a System.Type to MonoClass*
Zoltan Varga
vargaz at gmail.com
Wed Dec 14 15:08:17 EST 2011
Hi,
Try mono_type_get_object () in reflection.h.
Zoltan
On Wed, Dec 14, 2011 at 8:51 PM, Jonathan Shore <jonathan.shore at gmail.com>wrote:
> Thanks,
>
> Is it possible to get the reverse as well, from either MonoType* or
> MonoClass* -> a System.Type object?
>
>
> On Wed, Dec 14, 2011 at 6:14 AM, Rodrigo Kumpera <kumpera at gmail.com>wrote:
>
>> Hi Jonathan,
>>
>> If you're using trunk, Zoltan Varga added a mono_reflection_type_get_type
>> to handle that.
>>
>> On Tue, Dec 13, 2011 at 11:47 AM, Jonathan Shore <
>> jonathan.shore at gmail.com> wrote:
>>
>>> Thanks. That works
>>>
>>>
>>>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111214/fe86fd87/attachment.html
More information about the Mono-devel-list
mailing list