[Mono-list] MonoObject of type System.Type to MonoClass (C)

Robert Jordan robertj at gmx.net
Fri Dec 15 06:56:48 EST 2006


Maciej Piechotka wrote:
> On Fri, 15 Dec 2006 10:36:14 +0100, Robert Jordan wrote:
>> The workaround is to declare this in your code:
>>
>>
>> /*
>>   * FIXME: propose mono_reflection_type_get_XYZ () accessors.
>>   */
>> struct _MonoReflectionType {
>> 	MonoObject object;
>> 	MonoType  *type;
>> };
>>
> 
> I suppose there are no guarantee that it will work in future versions of
> Mono?

Of course not, but I'll propose a patch for some trivial
mono_reflection_*_get_* () accessors.

Robert



More information about the Mono-list mailing list