[PATCH 1/2] oleaut32: Convert ITypeInfo implementation to use standard linked list

Alexandre Julliard julliard at winehq.org
Mon Dec 13 10:03:19 CST 2010

Andrew Eikum <aeikum at codeweavers.com> writes:

> An array would work, especially for the static structures that are
> used now, but these cleanup patches were made with the goal of merging
> the typelib-reading and typelib-creation interfaces in mind.
> Specifically, implementing the typelib-creation interfaces using the
> current data structures in typelib.c.  Given the function
> ICreateTypeLib::CreateTypeInfo(), a list seems more appropriate to me.

If a list is really more appropriate for creation, then they shouldn't
share the structure. The reading API is clearly index-based, a list
isn't appropriate for that.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list