[Mono-dev] [PATCH] Allows cominterop_ccw_queryinterface to find interfaces implemented by base classes.

Bill Holmes billholmes54 at gmail.com
Wed Jun 3 18:13:23 EDT 2009


Tom,

Can you test the attached patch against your code?  You patch worked
just fine, but I did not want to add the
mono_class_get_all_implemented_interfaces to class.c.

Please let me know if this works for you.

-bill

On Wed, Apr 29, 2009 at 7:20 PM, Tom Hindle <tom_hindle at sil.org> wrote:
> Hi,
>
> Could someone review this patch?
>
> Patch attached to following:
>
> https://bugzilla.novell.com/show_bug.cgi?id=499566
>
> Given this is a potential frequently called function would it be worth
> doing either of the following optimizations?
>
> 1. Don't look looking for interfaces on Object class.
> 2. Cache the results of the function, eg a map of <classname, array of
> all implemented interfaces>
>
> Thanks
> Tom
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-499566.patch
Type: application/octet-stream
Size: 1348 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090603/0be35ce2/attachment.obj 


More information about the Mono-devel-list mailing list