safearray

Jon Griffiths jon_p_griffiths at yahoo.com
Fri Dec 12 13:29:01 CST 2003


Hi,

This is a rewrite of the SafeArray code that implements the remaining
stubs and updates variant coercion to use these calls when asked to
convert an array.

I'm interested if this causes any regressions for anyone. Its rather
difficult to test all the possible permutations of arrays.

Note there is some overlap between the new and existing tests which I
will attempt to remove later. This patch is already quite big, and as
it is, shows that all the existing tests pass with the new code

License: X11

ChangeLog:

  Jon Griffiths <jon_p_griffiths at yahoo.com>

  +dlls/oleaut32/oleaut32.spec dlls/oleaut32/safearray.c 
    Rewrite: Support I8/UI8,RECORD
    Store array bounds in the same order as native
    Add CreateEx, CreateVectorEx, VectorFromBstr, BstrFromVector

  +dlls/oleaut32/variant.c
    Use the SafeArray conversion functions when coercing arrays
    Simplify VariantChangeTypeEx.
    Replace calls to dump_Variant() with TRACE's

  +dlls/oleaut32/tests/safearray.c
    I8/UI8 are accepted in arrays in recent native dlls.


    Test UDTs, array coercion and new functions

=====
"Don't wait for the seas to part, or messiahs to come;
 Don't you sit around and waste this chance..." - Live

jon_p_griffiths at yahoo.com

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: safearray.diff
Type: text/x-diff
Size: 145540 bytes
Desc: safearray.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031212/387100dd/safearray.bin


More information about the wine-patches mailing list