[Mono-list] array access

2003-02-02 Thread Sterling Hughes
I'm trying to dynamically determine the type of elements stored within an object of MONO_TYPE_ARRAY, is there anyway to do this? -Sterling -- "The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea."

Re: [Mono-list] array access

2003-02-03 Thread Paolo Molaro
On 02/02/03 Sterling Hughes wrote: > I'm trying to dynamically determine the type of elements stored within > an object of MONO_TYPE_ARRAY, is there anyway to do this? MonoClass *elem_class = mono_object_class (array_object)->element_class; The same code works for vectors, too (MONO_TYPE_SZARRAY)