[Mono-devel-list] Embedding API, small improvement.
Miguel de Icaza
miguel at novell.com
Wed May 19 18:55:56 EDT 2004
Hey Paolo,
Someone was asking about getting types today and where to get a
MonoImage from, we gave him a sample that works, but I realized that
this is not optimal.
The following patch adds `mono_type_get' method that works very much
like "Type Type.GetType (string)" method for the C side, let me know if
this is ok to check in.
So now you can do:
MonoTypeReflection *type = mono_type_get ("System.Char");
Miguel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono_type_get.patch
Type: text/x-patch
Size: 3841 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040519/ecf132ae/attachment.bin
More information about the Mono-devel-list
mailing list